Merge pull request #5697 from mshytikov/fix/doc

Added value format description for VOLUME instruction in builder doc
Upstream-commit: d4c774de9759a174a3b77664663f9fd4ee43016d
Component: engine
This commit is contained in:
O.S. Tezer
2014-05-09 17:14:27 +01:00

View File

@ -325,8 +325,9 @@ optional but default, you could use a CMD:
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. For more information/examples and mounting instructions via docker
client, refer to [*Share Directories via Volumes*](
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*](
/use/working_with_volumes/#volume-def) documentation.
## USER