Currently ‘guix pack -f docker’ creates an image that lacks /tmp, but
some programs fail to run when /tmp is missing.
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.