[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: doc: Improve "guix pack -f docker" example.
From: |
guix-commits |
Subject: |
02/08: doc: Improve "guix pack -f docker" example. |
Date: |
Tue, 4 Feb 2020 18:22:06 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 65e15bd902f4dd6a3a1f6a87882ba73fac44defa
Author: Ludovic Courtès <address@hidden>
AuthorDate: Mon Feb 3 19:30:34 2020 +0100
doc: Improve "guix pack -f docker" example.
* doc/guix.texi (Invoking guix pack): Provide more concrete instructions
for the "guix pack -f docker" example.
---
doc/guix.texi | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 57e4846..f90a8d4 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.
- branch master updated (da355a6 -> 892be26), guix-commits, 2020/02/04
- 03/08: gnu: liquid-dsp: Remove unused module imports., guix-commits, 2020/02/04
- 05/08: gnu: Add stb-sprintf., guix-commits, 2020/02/04
- 08/08: gnu: mutt: Enable Autocrypt support., guix-commits, 2020/02/04
- 01/08: doc: Fix typo in channel example., guix-commits, 2020/02/04
- 02/08: doc: Improve "guix pack -f docker" example.,
guix-commits <=
- 06/08: gnu: Add stb-truetype., guix-commits, 2020/02/04
- 07/08: gnu: Add gnome-shell-extension-appindicator., guix-commits, 2020/02/04
- 04/08: gnu: Add redsea., guix-commits, 2020/02/04