From: Stephen Scheck <singularsyntax@gmail.com>
To: help-guix@gnu.org
Subject: Docker image not working
Date: Sun, 17 Nov 2019 10:20:33 -0600 [thread overview]
Message-ID: <CAKjnHz07jmKKPe2kuZ9M9JSPXV2ZvfkxpxbWR5siyvAfdFwmgg@mail.gmail.com> (raw)
Hello,
I'm trying to use the `guix system` command to create a Docker image as
documented here:
https://guix.gnu.org/manual/en/html_node/Invoking-guix-system.html#Invoking-guix-system
However, the created image does not work:
$ docker run -it system:0qjxd5ljsh316ki7wqkk2xz9b68lynh2
/run/current-system/profile/bin/bash --login
docker: Error response from daemon: OCI runtime create failed:
container_linux.go:348: starting container process caused "exec:
\"/run/current-system/profile/bin/bash\": stat
/run/current-system/profile/bin/bash: no such file or directory": unknown.
This is the command I invoked to create the image:
guix system init --no-bootloader --skip-checks --system=x86_64-linux
guix-docker.scm /tmp/guix/docker-image
And here is the system configuration I used:
(use-modules (gnu))
(use-package-modules admin base bash less linux)
(operating-system
(host-name "guix")
(timezone "UTC")
(locale "en_US.utf8")
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/null")))
(file-systems (cons (file-system
(device (file-system-label "guix-system-dummy"))
(mount-point "/")
(type "ext4"))
%base-file-systems))
(packages (append (list bash coreutils-minimal inetutils less procps
which) %base-packages)))
Am I missing something?
next reply other threads:[~2019-11-17 16:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-17 16:20 Stephen Scheck [this message]
2019-11-27 15:39 ` Docker image not working zimoun
2019-11-28 5:40 ` Stephen Scheck
2019-11-28 16:53 ` Stephen Scheck
2019-11-28 17:09 ` Maxim Cournoyer
2019-11-28 22:08 ` Stephen Scheck
2019-11-29 2:35 ` Maxim Cournoyer
2019-11-30 15:06 ` Stephen Scheck
-- strict thread matches above, loose matches on Subject: below --
2019-11-17 17:22 Stephen Scheck
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKjnHz07jmKKPe2kuZ9M9JSPXV2ZvfkxpxbWR5siyvAfdFwmgg@mail.gmail.com \
--to=singularsyntax@gmail.com \
--cc=help-guix@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.