From 484b4e2bffec074e6af9f28afb52cf9154fca8d9 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 30 Dec 2013 21:38:26 -0800 Subject: [PATCH] portage/README.md: You can mount volumes from stopped containers As Sven Dowideit describes in a pending doc update [1]. [1]: https://github.com/dotcloud/docker/pull/3389 --- portage/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/portage/README.md b/portage/README.md index 534124a..43a5bc9 100644 --- a/portage/README.md +++ b/portage/README.md @@ -44,5 +44,13 @@ will still be local to your client containers, so you'll get promptings for reading the news on both `d1a49abc4b3c` and `187adaf8babd`. +You can use container volumes even if their container is not running. +For example: + + $ docker run -name portage wking/portage true + +However, it may be useful to leave the container running so you don't +remove it up by accident. + [VOLUME]: http://docs.docker.io/en/latest/use/builder/#volume [volumes-from]: http://docs.docker.io/en/latest/use/working_with_volumes/#mount-volumes-from-an-existing-container -- 2.26.2