Browse code

Merge pull request #2690 from codevin/master

Improvise documentation for builder.rst / VOLUME command

Andy Rothfusz authored on 2013/11/15 12:23:18
Showing 1 changed files
... ...
@@ -318,8 +318,9 @@ this optional but default, you could use a CMD:
318 318
 
319 319
     ``VOLUME ["/data"]``
320 320
 
321
-The ``VOLUME`` instruction will add one or more new volumes to any
322
-container created from the image.
321
+The ``VOLUME`` instruction will create a mount point with the specified name and mark it 
322
+as holding externally mounted volumes from native host or other containers. For more information/examples 
323
+and mounting instructions via docker client, refer to :ref:`volume_def` documentation. 
323 324
 
324 325
 3.10 USER
325 326
 ---------