From ce71b7d929fe3d2a32c8bba28170c339f834cbb0 Mon Sep 17 00:00:00 2001 From: Erik Hollensbe Date: Thu, 11 Sep 2014 06:27:51 -0700 Subject: [PATCH] builder: Fix handling of VOLUME command where multiple volumes are specified in a space delimited list. Docker-DCO-1.1-Signed-off-by: Erik Hollensbe (github: erikh) Upstream-commit: 82ff6f0c9f31d2c1950bb4d4b5a76082437cc7f3 Component: cli --- components/cli/docs/sources/reference/builder.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/components/cli/docs/sources/reference/builder.md b/components/cli/docs/sources/reference/builder.md index 07b99dd5ba..d3560de718 100644 --- a/components/cli/docs/sources/reference/builder.md +++ b/components/cli/docs/sources/reference/builder.md @@ -472,9 +472,10 @@ optional but default, you could use a `CMD` instruction: The `VOLUME` instruction will create a mount point with the specified name and mark it as holding externally mounted volumes from native host or other containers. The value can be a JSON array, `VOLUME ["/var/log/"]`, or a plain -string, `VOLUME /var/log`. For more information/examples and mounting -instructions via the Docker client, refer to [*Share Directories via Volumes*]( -/userguide/dockervolumes/#volume-def) documentation. +string with multiple arguments, such as `VOLUME /var/log` or `VOLUME /var/log +/var/db`. For more information/examples and mounting instructions via the +Docker client, refer to [*Share Directories via Volumes*](/userguide/dockervolumes/#volume-def) +documentation. > **Note**: > The list is parsed a JSON array, which means that