Skip to content

Commit 7876801

Browse files
author
Misty Stanley-Jones
authored
Clarify what an absolute path looks like on Windows (docker#2524)
Fixes docker#561
1 parent b52e60a commit 7876801

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

engine/tutorials/dockervolumes.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ content. Once the mount is removed, the content is accessible again. This is
105105
consistent with the expected behavior of the `mount` command.
106106

107107
The `container-dir` must always be an absolute path such as `/src/docs`.
108-
The `host-dir` can either be an absolute path or a `name` value. If you
108+
The `host-dir` can either be an absolute path such as `/dst/docs` on Linux
109+
or `C:\dst\docs` on Windows, or a `name` value. If you
109110
supply an absolute path for the `host-dir`, Docker bind-mounts to the path
110111
you specify. If you supply a `name`, Docker creates a named volume by that `name`.
111112

0 commit comments

Comments
 (0)