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

后端 未结 2 1749
挽巷
挽巷 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:19

    Based on a comment by @GregorySuvalian, I understand that Windows 10 allows Hyper-V runtime only. So my workaround is to stop the container, running the docker cp command and restart the container. (I preferred this over setting up a volume, since it is just a one time operation.)

提交回复
热议问题