浏览代码

Merge pull request #26294 from petrsvihlik/updated-windows-mounting-example

Updated Windows mounting example
(cherry picked from commit 368a27a8d80337918d465c8c98100a4e22d9ef1a)

Signed-off-by: Charles Smith <charles.smith@docker.com>
Michael Crosby 8 年之前
父节点
当前提交
01de2e76b4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/tutorials/dockervolumes.md

+ 1 - 1
docs/tutorials/dockervolumes.md

@@ -134,7 +134,7 @@ docker run -v /Users/<path>:/<container path> ...
 On Windows, mount directories using:
 
 ```bash
-docker run -v /c/Users/<path>:/<container path> ...`
+docker run -v c:\<path>:/c:\<container path>
 ```
 
 All other paths come from your virtual machine's filesystem, so if you want