From b7acfed1b65ba9d3a940a84dc9cea9fb3cb3728d Mon Sep 17 00:00:00 2001 From: Joseph Mosby Date: Wed, 4 Jan 2017 18:30:54 -0500 Subject: [PATCH] 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. --- engine/tutorials/dockervolumes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/tutorials/dockervolumes.md b/engine/tutorials/dockervolumes.md index 8b328d4ec8..7a7a1b8a96 100644 --- a/engine/tutorials/dockervolumes.md +++ b/engine/tutorials/dockervolumes.md @@ -128,7 +128,7 @@ docker run -v /Users/:/ ... On Windows, mount directories using: ```bash -docker run -v c:\:/c:\ +docker run -v //c/:/ ``` All other paths come from your virtual machine's filesystem, so if you want