Docker on windows 10 can't startup after deleting MobyLinuxVM in Hyper-V manually

后端 未结 4 1795
灰色年华
灰色年华 2021-02-01 07:45

At first the docker work well on my Windows 10 with official version.

Then I deleted the MobyLinuxVM in Hyper-V for some reason. After that the docker can\'t work. <

4条回答
  •  没有蜡笔的小新
    2021-02-01 08:43

    Problem solved!! I tried the method which VonC provided, though still can't work, but I found one thing that while I run the command .\MobyLinux.ps1 -Create , it prompts that the VNAT creation error. Then I open the network adapter list, found that there are many "disconnected adapter" which is created by Hyper-V(During these time, I've turn off and turn on several times, each time it won't recognize the older adapters which docker can). So the adapter which docker found doesn't match which the Hyper-V found, and will prompt "object already exists" and won't create new one.

    At last, what we need to do is to open the device manager and delete the unnecessary adapters -- then the docker successfully started!

    Finally, great thank for the first answer by VonC

提交回复
热议问题