Cannot start Hyper-V container

前端 未结 5 852
闹比i
闹比i 2021-01-15 15:10

enter image description hereI am trying to run the docker container but I am getting below error message as Hyper-V and Virtualization is not enabled. But I have enabled Hyp

相关标签:
5条回答
  • 2021-01-15 15:41

    As suggested from the support in a chat I tried to start Hyper-V from the Hyper-V-Manager and this failed. I found a solution for this following this post: https://superuser.com/a/1160635/777303

    Basically running bcdedit from the cmd in admin mode showed me that hypervisorlaunchtype was set to off.

    Running bcdedit /set hypervisorlaunchtype auto and rebooting solved the problem for me.

    0 讨论(0)
  • Try this:

    • Go to turn windows features on or off (if you write optionalfeatures in cmd you got that files)

    • There search for a file with the name windows hypervisor platform

    • Enable it.

    • Reboot.

    0 讨论(0)
  • 2021-01-15 15:48

    Try this: https://www.jennerstrand.se/an-error-occurred-cannot-enable-hyper-v-service/

    Basicly:

    • Disable Hyper-V
    • Enable Hyper-V
    0 讨论(0)
  • 2021-01-15 15:49

    In my case, I needed also an extra step which enabling the virtualization from the bios.

    • Open the bios
    • going to security => virtualization
    • Enable the two options (see image 01)
    • Restart

    Make sure that the virtualization is enabled by running the task manager => Performance => down you should see virtualization enabled (see image 02).

    Ps: Check also if the hyper-V and container are enabled from control panel => Programs and features => Turn Windows Features on or off

    Make sure to enable all those features pointed by the arrow in the image

    Also make sure to switch to Linux container by seeing this in the docker shortcut in the task manager bar (if you see this result image it means is switched on :)). This to prevent futures problems like in this link.

    And then restart your system and restart the docker too. Hope it will help.

    0 讨论(0)
  • 2021-01-15 16:02
    • Go to

    Turn Windows features on or off

    • Enable

    Containers

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