docker run -d -P -v $PWD:/server companyservice/tornado
我像这样启动docker为什么会报错
invalid value 'c:\\user;e:\\Pro\\xxx' for flag -v
反正就是会包含两个路径,但是$PWD我echo出来确实只有一个路径,这是什么情况?
还有一直报错xxx不是绝对路径,windows下的绝对路径应该要怎么输入?我是这样c:\code\
ringa_lee
Try changing : to c:xxxx. I wonder if it conflicts with docker -v’s use of : as the delimiter
First you have to check whether the shared folder of the virtual box has shared the directory of your windows to the virtual machine. It is OKboot2docker 进去看下文件目录是不是存在,-v 参数要这样写 -v //c/code:/server
boot2docker
-v //c/code:/server
Try changing : to c:xxxx.
I wonder if it conflicts with docker -v’s use of : as the delimiter
First you have to check whether the shared folder of the virtual box has shared the directory of your windows to the virtual machine. It is OK
boot2docker
进去看下文件目录是不是存在,-v 参数要这样写-v //c/code:/server