docker cannot start on windows

后端 未结 30 2629
北海茫月
北海茫月 2020-12-04 09:17

Executing docker version returns the following results.

C:\\Projects> docker version
Client:
 Version:      1.13.0-dev
 API version:  1.25
 G         


        
30条回答
  •  情书的邮戳
    2020-12-04 10:15

    One of my friends was having a similar issue, we tried this and it worked.

    Hyper-V, despite being listed under "Turn Windows features on or off" as being active, was not in fact active. This became apparent when running systeminfo under PowerShell, and seeing that the requirements were listed as met (which is not the output you would expect were Hyper-V actually running).Steps:

    1. Open "Turn Windows features on or off"
    2. If you are not sure how to do this please refer https://www.howtogeek.com/250228/what-windows-10s-optional-features-do-and-how-to-[turn-them-on-or-off/][1]
    3. Turn Hyper-V off (uncheck box, making sure all sub-components are marked as off)
    4. Hit "Ok" - and your machine will reboot.
    5. When your computer starts up again, open "Turn Windows features on or off" and turn Hyper-V back on. Your machine will reboot again.

    Now you can test by running docker hello-world image.

提交回复
热议问题