From: Ricardo Wurmus <rekado@elephly.net>
To: 37162@debbugs.gnu.org
Cc: ludovic.courtes@inria.fr
Subject: bug#37162: ‘guix pack -f docker’ creates an image without /etc/passwd
Date: Fri, 23 Aug 2019 22:16:08 +0200 [thread overview]
Message-ID: <874l27k587.fsf@elephly.net> (raw)
In-Reply-To: <87r25c3p0e.fsf@inria.fr>
Ludovic Courtès <ludovic.courtes@inria.fr> 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
next prev parent reply other threads:[~2019-08-23 20:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-23 15:00 bug#37162: ‘guix pack -f docker’ creates an image without /etc/passwd Ludovic Courtès
2019-08-23 20:16 ` Ricardo Wurmus [this message]
2019-08-25 21:32 ` Maxim Cournoyer
2019-08-25 16:28 ` Ricardo Wurmus
2019-08-26 9:19 ` Maxim Cournoyer
2019-08-26 7:37 ` Ludovic Courtès
2019-08-26 11:39 ` Ricardo Wurmus
2019-08-31 15:02 ` Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874l27k587.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=37162@debbugs.gnu.org \
--cc=ludovic.courtes@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).