Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker + Virtual Box = VT-x is not available (VERR_VMX_NO_VMX)

I installed docker. During installation, it complained that you can't have two virtualization environments, and that it would make docker the primary one. I said: "OK."

Now, I need to go back to enabling virtualbox. I uninstalled Docker, hoping it would put things back the way they were, but: no joy.

How do I re-enable virtualization for VirtualBox now that docker is gone?

Note: Virtualization bit is set / enabled on the chip.

OS: Win10 Enterprise.

like image 481
DrDamnit Avatar asked Dec 13 '16 18:12

DrDamnit


People also ask

Does Docker use VT-X?

If you are planning to run docker in a linux machine your answer is yes, you can run docker without the need of VT-x or similar technologies in your processor, since Docker only required cgroups to be available on kernel to get the majority of its features working, but if you need to run docker in a Mac OSX or Windows, ...

Can I run VirtualBox without Vt-X?

Whatver how old it is, VirtualBox is type2-hypervisor, it should work without Intel-VT from box.


2 Answers

Virtualbox will get upset and not run if Microsoft Hyper-V is enabled.

Here's the solution:

  1. Open command prompt as administrator
    • search for 'command'
    • right-click then select 'run as administrator'
  2. paste the following command:

    dism.exe /Online /Disable-Feature:Microsoft-Hyper-V 
  3. Then reboot.

like image 151
DrDamnit Avatar answered Sep 29 '22 00:09

DrDamnit


To complete @DrDamnit answer, it is also possible to disable Microsoft Hyper-V from the menu.

  1. Search for "Turn Windows features on" on the start menu

Turn Windows features on and off

  1. Disable Hyper-V

Disabele Hyper-V

  1. Reboot your computer

Voilà

like image 44
Alexis.Rolland Avatar answered Sep 28 '22 22:09

Alexis.Rolland