Can't start docker on windows

后端 未结 2 1932
执念已碎
执念已碎 2021-02-15 06:02

I continue to get the following error when trying to start docker on Windows 10 pro. my HyperV is turned on and running: Version 18.04.0-ce-win62 (17151) Channel: edge e0a85f6<

相关标签:
2条回答
  • 2021-02-15 06:39

    Try this. It's sorting the problem of many people.

    cd "C:\Program Files\Docker\Docker" 
    ./DockerCli.exe -SwitchDaemon
    
    0 讨论(0)
  • 2021-02-15 06:45
    1. Open Windows Security

    2. Open App & Browser control

    3. Click Exploit protection settings

    4. Switch to Program settings tab

    5. Locate C:\WINDOWS\System32\vmcompute.exe in the list and expand it

    6. Click Edit

    7. Scroll down to Control flow guard (CFG) and uncheck Override system settings

    8. Start vmcompute from powershell net start vmcompute (or alternately start the Hyper-V Host Compute Service from the system Services app)

    9. Restart PC

    10. Open Hyper-V as Administrator

    11. Connect to Server, Local computer, OK

    The above worked for me. I couldn't run docker, then I realized I couldn't connect to my local machine on hyper-v. I kept reading suggestions to reinstall hyper-v and do some restarts but this is what finally worked.

    0 讨论(0)
提交回复
热议问题