From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 27 06:47:32 2019 Received: (at 37161-done) by debbugs.gnu.org; 27 Aug 2019 10:47:32 +0000 Received: from localhost ([127.0.0.1]:47792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2Z0e-0002wx-3b for submit@debbugs.gnu.org; Tue, 27 Aug 2019 06:47:32 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:52211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2Z0b-0002wi-CY for 37161-done@debbugs.gnu.org; Tue, 27 Aug 2019 06:47:30 -0400 X-IronPort-AV: E=Sophos;i="5.64,436,1559512800"; d="scan'208";a="317308528" Received: from unknown (HELO ribbon) ([193.50.110.215]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES256-GCM-SHA384; 27 Aug 2019 12:47:22 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ricardo Wurmus Subject: Re: bug#37161: =?utf-8?Q?=E2=80=98guix?= pack -f =?utf-8?Q?docker?= =?utf-8?Q?=E2=80=99?= creates an image without /tmp References: <871rxc53qs.fsf@inria.fr> <875zmnk5ek.fsf@elephly.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 Fructidor an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 27 Aug 2019 12:47:22 +0200 In-Reply-To: <875zmnk5ek.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 23 Aug 2019 22:12:19 +0200") Message-ID: <87sgpmq405.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 37161-done Cc: 37161-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi, Ricardo Wurmus skribis: >> 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? Yes I think so. > 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. Done in commit 7979a287f8eb84cbbfa44629951572408939a756. Thanks, Ludo=E2=80=99.