The following error message occurs when starting docker
An error occurred
Hardware assisted virtualization and data execution protection must be enabled in the BIOS. See https://docs.docker.com/docker-for-windows/troubleshoot/#virtualization-must-be-enabled
To fix this problem you need to make sure Hyper-V is installed
Use an administrative powershell to install the Hyper-V Windows features.
- Right click the start button and choose Windows PowerShell(Admin)
- Enter the following line into the Powershell and hit enter
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All
You might have the hypervisorlaunchtype set to off in the Boot Configuration Data. If this is the case then run the following line in following in an administrative Powershell.
bcdedit /set hypervisorlaunchtype auto
Once this is done a system reboot is required and Docker should start up and run as normal.