summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-02-03 19:30:34 +0100
committerLudovic Courtès <ludo@gnu.org>2020-02-05 00:21:27 +0100
commit65e15bd902f4dd6a3a1f6a87882ba73fac44defa (patch)
tree6b2e868a5d9d2aac274c406ba011a2988db8c82a /doc
parent8b3dc5cf0e129fc61b6eaa711897f61afc0fe45a (diff)
downloadpatches-65e15bd902f4dd6a3a1f6a87882ba73fac44defa.tar
patches-65e15bd902f4dd6a3a1f6a87882ba73fac44defa.tar.gz
doc: Improve "guix pack -f docker" example.
* doc/guix.texi (Invoking guix pack): Provide more concrete instructions for the "guix pack -f docker" example.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi13
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 57e4846013..f90a8d4514 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -5057,12 +5057,21 @@ Alternatively, you can produce a pack in the Docker image format using
the following command:
@example
-guix pack -f docker guile emacs geiser
+guix pack -f docker -S /bin=bin guile guile-readline
@end example
@noindent
The result is a tarball that can be passed to the @command{docker load}
-command. See the
+command, followed by @code{docker run}:
+
+@example
+docker load < @var{file}
+docker run -ti guile-guile-readline /bin/guile
+@end example
+
+@noindent
+where @var{file} is the image returned by @var{guix pack}, and
+@code{guile-guile-readline} is its ``image tag''. See the
@uref{https://docs.docker.com/engine/reference/commandline/load/, Docker
documentation} for more information.