From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#37161: =?UTF-8?Q?=E2=80=98guix?= pack -f =?UTF-8?Q?docker=E2=80=99?= creates an image without /tmp Date: Fri, 23 Aug 2019 22:12:19 +0200 Message-ID: <875zmnk5ek.fsf@elephly.net> References: <871rxc53qs.fsf@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56250) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1GAF-00022e-EW for bug-guix@gnu.org; Fri, 23 Aug 2019 16:28:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1GAE-0000R8-HL for bug-guix@gnu.org; Fri, 23 Aug 2019 16:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60678) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i1GAE-0000R3-9f for bug-guix@gnu.org; Fri, 23 Aug 2019 16:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i1GAE-0000C6-4Q for bug-guix@gnu.org; Fri, 23 Aug 2019 16:28:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <871rxc53qs.fsf@inria.fr> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 37161@debbugs.gnu.org Cc: ludovic.courtes@inria.fr > One can work around it by asking Docker to create /tmp: > > docker run --tmpfs /tmp =E2=80=A6 > > However, it seems easier to just create /tmp upfront in the image. If /tmp exists in the image can a user still overwrite it to either map an outside directory to /tmp in the container or to use a tmpfs? If this is still possible, I agree that /tmp should exist in the generated image =E2=80=93 even if it=E2=80=99s just a plain mount point. -- Ricardo