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@hollensbe.org> (github: erikh)
Upstream-commit: 82ff6f0c9f
Component: cli
This commit is contained in:
committed by
Tibor Vass
parent
97a4071f4e
commit
ce71b7d929
@ -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
|
||||
|
||||
Reference in New Issue
Block a user