Cannot start Hyper-V container

前端 未结 5 851
闹比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: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.

提交回复
热议问题