[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37162: ‘guix pack -f docker’ creates an image without /etc/passwd
From: |
Ricardo Wurmus |
Subject: |
bug#37162: ‘guix pack -f docker’ creates an image without /etc/passwd |
Date: |
Fri, 23 Aug 2019 22:16:08 +0200 |
User-agent: |
mu4e 1.2.0; emacs 26.2 |
Ludovic Courtès <address@hidden> writes:
> ‘guix pack -f docker’ currently creates an image without
> /etc/{passwd,group,shadow}.
[…]
> Unless there are objections, I’d like to create these with just the
> “root” and “nobody” accounts. Or should we have a regular unprivileged
> account? But then what should its UID be?
Is there perhaps a configuration that we could add to the Docker image
meta-data to have Docker do the right thing? The right thing might be
to map these files from the host into the container automatically, or to
instruct Docker to create them when starting the container.
I would prefer to accomplish this via configuration “hints” if possible
instead of creating dummy files with specific contents.
(I don’t know if this is at all possible.)
--
Ricardo