Wednesday, January 8, 2020

Docker: Hardware assisted virtualization and data execution protection must be enable in the BIOS


>PROBLEM

Docker fails to start, returning the following message:

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







>SOLUTION

Turn on hyper-v.
As Administrator, issue the command:

   bcdedit /set hypervisorlaunchtype auto start

Restart the machine.

*** IMPORTANT NOTE:

Vagrant with VirtualBox require to turn off hyper-v:

  bcdedit /set hypervisorlaunchtype off

That way, if you have both installed, once their configurations are conflicting, it is not possible to have both working at the same time.





>ENV

Windows 10
Vagrant v2.2.6
VirtualBox 6.0

>SEE

Vagrant: The box you're attempting to add doesn't support the provider you requested

Vagrant: There was an error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox


No comments:

Post a Comment

eclipse: java: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" or Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder

  >PROBLEM Using Eclipse, you try to run a simple logging test using "org.slf4j.Logger" like the sample below: package Test; im...