Prechádzať zdrojové kódy

Merge pull request #7030 from runvnc/patch-1

Better example for data container
Sven Dowideit 11 rokov pred
rodič
commit
324010ad66
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      docs/sources/userguide/dockervolumes.md

+ 1 - 1
docs/sources/userguide/dockervolumes.md

@@ -99,7 +99,7 @@ it.
 
 
 Let's create a new named container with a volume to share.
 Let's create a new named container with a volume to share.
 
 
-    $ sudo docker run -d -v /dbdata --name dbdata training/postgres
+    $ sudo docker run -d -v /dbdata --name dbdata training/postgres echo Data-only container for postgres
 
 
 You can then use the `--volumes-from` flag to mount the `/dbdata` volume in another container.
 You can then use the `--volumes-from` flag to mount the `/dbdata` volume in another container.