使用带有反斜杠“\”的Windows路径写入,建议使用变量指定路径。另一方面,对于Linux,请使用斜线“/”,例如:
docker run -it -v %userprofile%\work\myproj\some-data:/var/data