Browse code

Improve data volume container example. Docker-DCO-1.1-Signed-off-by: Jason Livesay <ithkuil@gmail.com> (github: runvnc)

Jason Livesay authored on 2014/07/15 22:32:44
Showing 1 changed files
... ...
@@ -98,7 +98,7 @@ it.
98 98
 
99 99
 Let's create a new named container with a volume to share.
100 100
 
101
-    $ sudo docker run -d -v /dbdata --name dbdata training/postgres
101
+    $ sudo docker run -d -v /dbdata --name dbdata training/postgres echo Data-only container for postgres
102 102
 
103 103
 You can then use the `--volumes-from` flag to mount the `/dbdata` volume in another container.
104 104