Browse code

adding note that host-volumes must be defined using absolute paths

Docker-DCO-1.1-Signed-off-by: Will Weaver <monkey@buildingbananas.com> (github: funkymonkeymonk)

FunkyMonkeyMonk authored on 2014/03/02 10:43:22
Showing 2 changed files
... ...
@@ -334,6 +334,7 @@ Wes Morgan <cap10morgan@gmail.com>
334 334
 Will Dietz <w@wdtz.org>
335 335
 William Delanoue <william.delanoue@gmail.com>
336 336
 Will Rouesnel <w.rouesnel@gmail.com>
337
+Will Weaver <monkey@buildingbananas.com>
337 338
 Xiuming Chen <cc@cxm.cc>
338 339
 Yang Bai <hamo.by@gmail.com>
339 340
 Yurii Rashkovskii <yrashk@gmail.com>
... ...
@@ -90,6 +90,7 @@ Mount a Host Directory as a Container Volume:
90 90
 
91 91
   -v=[]: Create a bind mount with: [host-dir]:[container-dir]:[rw|ro].
92 92
 
93
+You must specify an absolute path for ``host-dir``.
93 94
 If ``host-dir`` is missing from the command, then docker creates a new volume.
94 95
 If ``host-dir`` is present but points to a non-existent directory on the host,
95 96
 Docker will automatically create this directory and use it as the source of the