Unable to copy to Windows container ('docker cp') on Windows 10

后端 未结 2 1769
挽巷
挽巷 2021-02-18 17:33

I set up Docker for Windows on my laptop and switched from Linux Containers to Windows Containers in Docker\'s settings (which prompted a couple of restarts an

2条回答
  •  既然无缘
    2021-02-18 18:07

    Edit to Vimes answer as I had a difficult time to use the --mount within my docker run commmand. The actual run command needs to be within the quotes '' starting from type...

    --mount 'type=bind,source="c:/host/folder/path/with/forward/slashes",target="C:/container/folder/path/with/forward/slashes"'

提交回复
热议问题