Windows 10安装Docker 报“Hardware assisted virtualization and data execution protection must be enabled”

Environment version

System environment: Windows 10 Education Edition 64-bit

Docker version: 17.12.0-ce

error message

The installation of Docker for Windows.exe is successful, and the following error message pops up when Docker is restarted:

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-enable

 

Using the Docker login command to report the following error:

Solution

Docker in Win10 operates based on the virtual machine Hyper-V that comes with Win10. Before installation, make sure that CPU virtualization has been turned on in the BIOS, otherwise the above error will be reported at the initial startup after installation.

Click "Task Manager" -> "Performance" to see if virtualization is enabled. The image below shows that native virtualization is disabled and needs to be enabled.

 

Go to BIOS > >Intel Virtual Technology > Enabled and press F10 to save the settings. After entering the system, check that virtualization is turned on again.

Docker started successfully.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325193948&siteId=291194637