commit:     c1b181c97ab7c223b8730fa72e9d988c37a640a4
Author:     John R. Graham <john_r.graham <AT> technicolor <DOT> com>
AuthorDate: Fri Jun  7 18:29:55 2019 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Fri Nov 15 08:24:59 2019 +0000
URL:        https://gitweb.gentoo.org/proj/docker-images.git/commit/?id=c1b181c9

Corrected an example so the the container actually runs.

- Not sure if this is just a typo or if the behavior has changed
  over time but the current "Using the portage container as a
  data volume" example exits immediately because bash has no
  stdin.

Signed-off-by: John R. Graham <john_r_graham <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo-docker-images/pull/66
Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>

 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index e5d0779..2a1662f 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ The container being built is defined by the TARGET 
environment variable:
 
 ```
 docker create -v /usr/portage --name myportagesnapshot gentoo/portage:latest 
/bin/true
-docker run --volumes-from myportagesnapshot gentoo/stage3-amd64:latest 
/bin/bash
+docker run --interactive --tty --volumes-from myportagesnapshot 
gentoo/stage3-amd64:latest /bin/bash
 ```
 
 # Using the portage container in a multi-stage build

Reply via email to