Merge pull request #13776 from duglin/MinorVolDocEdit

Minor doc edit to add clarity around the --volume path format
This commit is contained in:
moxiegirl
2015-06-05 18:41:37 -07:00
2 changed files with 6 additions and 2 deletions
+4 -2
View File
@@ -1122,8 +1122,10 @@ container's `/etc/hosts` entry will be automatically updated.
## VOLUME (shared filesystems)
-v=[]: Create a bind mount with: [host-dir]:[container-dir]:[rw|ro].
If "container-dir" is missing, then docker creates a new volume.
-v=[]: Create a bind mount with: [host-dir:]container-dir[:rw|ro].
If 'host-dir' is missing, then docker creates a new volume.
If neither 'rw' or 'ro' is specified then the volume is mounted
in read-write mode.
--volumes-from="": Mount all volumes from the given container(s)
The volumes commands are complex enough to have their own documentation