Docker mounted volume adds ;C to end of windows path when translating from linux style path

后端 未结 7 1639
后悔当初
后悔当初 2020-12-07 14:11

I\'ve found some interesting weirdness when trying to mount a docker image on windows.

I created a .sh script that does a mount of the project folder to

相关标签:
7条回答
  • 2020-12-07 14:57

    I had the same issue on git bash and not command prompt. You can instead

    docker run -it --rm -v "/${PWD}/D:\my\project\folder":/wkDir $IMAGE_TAG yarn dev
    
    0 讨论(0)
提交回复
热议问题