Skip to content

Commit

Permalink
adding note that host-volumes must be defined using absolute paths
Browse files Browse the repository at this point in the history
Docker-DCO-1.1-Signed-off-by: Will Weaver <[email protected]> (github: funkymonkeymonk)
  • Loading branch information
funkymonkeymonk committed Mar 2, 2014
1 parent f83482c commit 3ddfbf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ Wes Morgan <[email protected]>
Will Dietz <[email protected]>
William Delanoue <[email protected]>
Will Rouesnel <[email protected]>
Will Weaver <[email protected]>
Xiuming Chen <[email protected]>
Yang Bai <[email protected]>
Yurii Rashkovskii <[email protected]>
Expand Down
1 change: 1 addition & 0 deletions docs/sources/use/working_with_volumes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ Mount a Host Directory as a Container Volume:

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

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

0 comments on commit 3ddfbf6

Please sign in to comment.