From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#37161: =?UTF-8?Q?=E2=80=98guix?= pack -f =?UTF-8?Q?docker=E2=80=99?= creates an image without /tmp Date: Tue, 27 Aug 2019 12:47:22 +0200 Message-ID: <87sgpmq405.fsf@inria.fr> References: <871rxc53qs.fsf@inria.fr> <875zmnk5ek.fsf@elephly.net> 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]:34783) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2Z1A-0003jo-IO for bug-guix@gnu.org; Tue, 27 Aug 2019 06:48:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2Z18-00038D-By for bug-guix@gnu.org; Tue, 27 Aug 2019 06:48:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38971) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2Z18-00037X-67 for bug-guix@gnu.org; Tue, 27 Aug 2019 06:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i2Z18-0002xi-3D for bug-guix@gnu.org; Tue, 27 Aug 2019 06:48:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <875zmnk5ek.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 23 Aug 2019 22:12:19 +0200") 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: Ricardo Wurmus Cc: 37161-done@debbugs.gnu.org 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.