Clarify what an absolute path looks like on Windows (#2524)

Fixes #561
This commit is contained in:
Misty Stanley-Jones 2017-03-28 17:25:23 -07:00 committed by GitHub
parent b52e60a8cc
commit 78768013fb
1 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,8 @@ content. Once the mount is removed, the content is accessible again. This is
consistent with the expected behavior of the `mount` command.
The `container-dir` must always be an absolute path such as `/src/docs`.
The `host-dir` can either be an absolute path or a `name` value. If you
The `host-dir` can either be an absolute path such as `/dst/docs` on Linux
or `C:\dst\docs` on Windows, or a `name` value. If you
supply an absolute path for the `host-dir`, Docker bind-mounts to the path
you specify. If you supply a `name`, Docker creates a named volume by that `name`.