From 3ddfbf68802b7a62dcdefd46decb3f7f6faebabe Mon Sep 17 00:00:00 2001 From: FunkyMonkeyMonk Date: Sat, 1 Mar 2014 20:43:22 -0500 Subject: [PATCH] adding note that host-volumes must be defined using absolute paths Docker-DCO-1.1-Signed-off-by: Will Weaver (github: funkymonkeymonk) --- AUTHORS | 1 + docs/sources/use/working_with_volumes.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/AUTHORS b/AUTHORS index a54c6337cb..df091d5950 100644 --- a/AUTHORS +++ b/AUTHORS @@ -334,6 +334,7 @@ Wes Morgan Will Dietz William Delanoue Will Rouesnel +Will Weaver Xiuming Chen Yang Bai Yurii Rashkovskii diff --git a/docs/sources/use/working_with_volumes.rst b/docs/sources/use/working_with_volumes.rst index 9a27e4b929..2e3b36ba2f 100644 --- a/docs/sources/use/working_with_volumes.rst +++ b/docs/sources/use/working_with_volumes.rst @@ -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