mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #2690 from codevin/master
Improvise documentation for builder.rst / VOLUME command
This commit is contained in:
commit
bed87ea103
1 changed files with 3 additions and 2 deletions
|
@ -318,8 +318,9 @@ this optional but default, you could use a CMD:
|
||||||
|
|
||||||
``VOLUME ["/data"]``
|
``VOLUME ["/data"]``
|
||||||
|
|
||||||
The ``VOLUME`` instruction will add one or more new volumes to any
|
The ``VOLUME`` instruction will create a mount point with the specified name and mark it
|
||||||
container created from the image.
|
as holding externally mounted volumes from native host or other containers. For more information/examples
|
||||||
|
and mounting instructions via docker client, refer to :ref:`volume_def` documentation.
|
||||||
|
|
||||||
3.10 USER
|
3.10 USER
|
||||||
---------
|
---------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue