Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker not running on windows 10 error: Hardware assisted virtualization and data execution protection must be enabled in the BIOS

I'm trying to run docker on windows 10 Pro but I get this error: "Hardware assisted virtualization and data execution protection must be enabled in the BIOS"

I have already enabled "Intel VT" and "XD bit" in BIOS settings As I read in this post "Enable Hardware settings in BIOS to run Hyper V" but I don't have "Intel VT-d" and "Trusted Execution" in my BIOS settings to disable them.

These are my system specifications:

  • OS: Windows 10 Pro build 14393.447
  • CPU: Intel Core 2 Duo E7500
  • Main: DG43GT

I have done the things said in this post "Docker for Windows error" but nothing works! I would really appreciate it if someone could help me with this problem.

Thanks

like image 970
Mahsa Maslahati Avatar asked Nov 11 '16 17:11

Mahsa Maslahati


People also ask

Does Docker require virtualization to be enabled?

Does Docker use Hardware Virtualization? The short answer is: no. Docker needs a 64-bit Linux OS running a modern enough kernel to operate properly.


2 Answers

After installed docker, on hp pavilion power 15-cb0xx

I got the same error:

error

Case 1: First I run these two commands with admin permission and restart the system but After the restart, I got the same error.

dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All

bcdedit /set hypervisorlaunchtype auto

After checking the Windows feature as you see on the Image the second option (HyperV-Platform) checked but looks different(pale-> disabled by default). You cannot enable or disable directly. You only able to update via PowerShell with first two commands I mentioned in Case 1.
After Case 1: it looks checked however the error was there.

hiberv-disabled

Case 2:

  1. Turn off all the Hyper-V feature
  2. Open the bios setting re-enable the Hyper-V feature
  3. Check the Hyper-V. It should look like:

    hyper-v2

  4. Re-Install docker

like image 180
ikarayel Avatar answered Oct 05 '22 11:10

ikarayel


Hyper-V on Windows 10 needs Second Level Address Translation (SLAT). This may not supported by this cpu. You can check this by using the sysinternals util coreinfo

like image 20
user7166060 Avatar answered Oct 05 '22 11:10

user7166060