aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn R. Graham <john_r.graham@technicolor.com>2019-06-07 14:29:55 -0400
committerAlexys Jacob <ultrabug@gentoo.org>2019-11-15 09:24:59 +0100
commitc1b181c97ab7c223b8730fa72e9d988c37a640a4 (patch)
treeb32bad2cf79820c5bc734ad598d142254f869d83
parentUse official Gentoo keyservers (keys.gentoo.org) by @mgorny (diff)
downloaddocker-images-c1b181c97ab7c223b8730fa72e9d988c37a640a4.tar.gz
docker-images-c1b181c97ab7c223b8730fa72e9d988c37a640a4.tar.bz2
docker-images-c1b181c97ab7c223b8730fa72e9d988c37a640a4.zip
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@gentoo.org> Closes: https://github.com/gentoo/gentoo-docker-images/pull/66 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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