mirror of https://github.com/docker/docs.git
Updating dockervolumes.md for Windows mounting
The code snippet for mounting Windows directories won't work: it will produce an "Invalid bind mount spec" error as Docker cannot properly read the path. The core error was addressed in [#12590](https://github.com/docker/docker/issues/12590#issuecomment-96767796), this is just an update to the tutorial.
This commit is contained in:
parent
7ad2f37bec
commit
b7acfed1b6
|
@ -128,7 +128,7 @@ docker run -v /Users/<path>:/<container path> ...
|
|||
On Windows, mount directories using:
|
||||
|
||||
```bash
|
||||
docker run -v c:\<path>:/c:\<container path>
|
||||
docker run -v //c/<path>:/<container path>
|
||||
```
|
||||
|
||||
All other paths come from your virtual machine's filesystem, so if you want
|
||||
|
|
Loading…
Reference in New Issue