Programmers learn & share
0 votes

Problem :

I have newly installed Docker and I am having following error when I try to run the GUI:

Hardware assisted virtualization and data execution protection must be enabled in the BIOS

It appears like a bug as Docker works like a charm from my command line, but  does not work in GUI. I have already enabled virtualization in the BIOS and also the Intel Processor Identification Utility confirms that it is activated. My Docker, docker-machine and docker-compose all work from the command line,  also Virtualbox works, running Docker from a Debian or Ubuntu VM works.

Just this weird issue is troubling me about the GUI.

My system specs:

·         Windows 10 Pro x64

·         Intel core i5-6300HQ

by (7.5k points)   | 43 views

1 Answer

0 votes

Solution :

If all the above mentioned features are enabled then the problem must be with Hyper-V that is either disabled or the Hypervisor agent is not running

A.      Hyper-V totally disabled

1.      Please Open Power Shell as administrator and

2.      Enable Hyper-V with following command

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

B.     Hyper-V Not Working

1.      Enable Hypervisor with following command

     bcdedit /set hypervisorlaunchtype auto

Now please restart the system and try again.

C.     Hyper-V Corrupted

1.      Please Go in Control Panel -> [Programs] -> [Windows Features] and completely uncheck all Hyper-V related components and simply restart your system.

2.      Please Enable Hyper-V again and Restart.

by (36.1k points)  
2,227 questions
2,734 answers
241 users