Fixing the volume options doc

Fixes #15896
Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
Upstream-commit: 41a36529a71d96a9ed9d334a6efa72b4616c2abd
Component: engine
This commit is contained in:
Kai Qiang Wu(Kennan)
2015-11-11 20:23:49 -06:00
parent 4190d23ba7
commit 51a4df16fb
4 changed files with 21 additions and 9 deletions

View File

@ -70,7 +70,12 @@ Creates a new container.
-u, --user="" Username or UID
--ulimit=[] Ulimit options
--uts="" UTS namespace to use
-v, --volume=[] Bind mount a volume
-v, --volume=[] Bind mount a volume with: [host-src:]container-dest[:<options>], where
options are comma delimited and selected from [rw|ro] and [z|Z].
The 'host-src' can either be an absolute path or a name value.
If 'host-src' 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 volumes from the specified container(s)
-w, --workdir="" Working directory inside the container