Cannot enable Hyper-V service with Docker in windows 10
Solution 1
You need to autostart the hypervisor at startup.
Open a Powershell as Admin. Paste the line:
bcdedit /set hypervisorlaunchtype auto
Then the hypervisor will start at the next boot and it should work. For future information see: https://d3v.one/windows-10-changing-hyper-v-support-at-boot-time/
Solution 2
In my case this worked for me More concrete steps:
got to ‘Apps and Features. Select Programs and Features on the right under related settings. Select Turn Windows Features on or off. Unselect Hyper-V and click OK. (So I disable it) Restart computer
After restart I go to: ‘Apps and Features. Select Programs and Features on the right under related settings. Select Turn Windows Features on or off. select Hyper-V and click OK. (So I enable it) Computer restart
After restart, then docker worked correctly.