Skip to content

Commit 3ddfbf6

Browse files
committedMar 2, 2014
adding note that host-volumes must be defined using absolute paths
Docker-DCO-1.1-Signed-off-by: Will Weaver <[email protected]> (github: funkymonkeymonk)
1 parent f83482c commit 3ddfbf6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ Wes Morgan <cap10morgan@gmail.com>
334334
Will Dietz <w@wdtz.org>
335335
William Delanoue <william.delanoue@gmail.com>
336336
Will Rouesnel <w.rouesnel@gmail.com>
337+
Will Weaver <monkey@buildingbananas.com>
337338
Xiuming Chen <cc@cxm.cc>
338339
Yang Bai <hamo.by@gmail.com>
339340
Yurii Rashkovskii <yrashk@gmail.com>

‎docs/sources/use/working_with_volumes.rst

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ Mount a Host Directory as a Container Volume:
9090

9191
-v=[]: Create a bind mount with: [host-dir]:[container-dir]:[rw|ro].
9292

93+
You must specify an absolute path for ``host-dir``.
9394
If ``host-dir`` is missing from the command, then docker creates a new volume.
9495
If ``host-dir`` is present but points to a non-existent directory on the host,
9596
Docker will automatically create this directory and use it as the source of the

0 commit comments

Comments
 (0)
Please sign in to comment.