Subject: bug#37161: ‘guix pack -f docker’ creates an image without /tmp

From: Ricardo Wurmus <[email-masked]>
Date: Fri, 23 Aug 2019 22:12:19 +0200

> One can work around it by asking Docker to create /tmp:
>
>   docker run --tmpfs /tmp …
>
> 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 – even if it’s just a plain mount point.

--
Ricardo