mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-30 18:10:16 +00:00
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)
This commit is contained in:
@@ -445,9 +445,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.
|
||||
|
||||
## USER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user