From 6abd40c653e23cf42121dcf8af18751777b15408 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 15 Sep 2016 16:06:29 +0200 Subject: [PATCH] Restore missing "format" example The "format" example got lost during the rewrite of the documentation for Cobra. This restores the missing example. Signed-off-by: Sebastiaan van Stijn --- docs/reference/commandline/create.md | 7 ++++--- docs/reference/commandline/run.md | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/reference/commandline/create.md b/docs/reference/commandline/create.md index 8446c6d140..9e3dfdead5 100644 --- a/docs/reference/commandline/create.md +++ b/docs/reference/commandline/create.md @@ -108,9 +108,10 @@ Options: 'host': Use the Docker host user namespace '': Use the Docker daemon user namespace specified by `--userns-remap` option. --uts string UTS namespace to use - -v, --volume value Bind mount a volume (default []). The comma-delimited - `options` are [rw|ro], [z|Z], - [[r]shared|[r]slave|[r]private], and + -v, --volume value Bind mount a volume (default []). The format + is `[host-src:]container-dest[:]`. + The comma-delimited `options` are [rw|ro], + [z|Z], [[r]shared|[r]slave|[r]private], and [nocopy]. The 'host-src' is an absolute path or a name value. --volume-driver string Optional volume driver for the container diff --git a/docs/reference/commandline/run.md b/docs/reference/commandline/run.md index 71340058e6..78f271391e 100644 --- a/docs/reference/commandline/run.md +++ b/docs/reference/commandline/run.md @@ -115,9 +115,10 @@ Options: 'host': Use the Docker host user namespace '': Use the Docker daemon user namespace specified by `--userns-remap` option. --uts string UTS namespace to use - -v, --volume value Bind mount a volume (default []). The comma-delimited - `options` are [rw|ro], [z|Z], - [[r]shared|[r]slave|[r]private], and + -v, --volume value Bind mount a volume (default []). The format + is `[host-src:]container-dest[:]`. + The comma-delimited `options` are [rw|ro], + [z|Z], [[r]shared|[r]slave|[r]private], and [nocopy]. The 'host-src' is an absolute path or a name value. --volume-driver string Optional volume driver for the container