engineering:computer_science:docker:switch_between_docker_virtualbox

Switching between Docker and VirtualBox on Windows 10

If you are receiving an error similar to “VT-x is not available (VERR_VMX_NO_VMX)” when starting a VirtualBox Virtual Machine after installing Docker, here is a solution:

Docker uses Hyper-V. VirtualBox uses VT-x. You cannot have both level 1 hypervirtualization technologies running currently.

# Run from elevated prompt (admin privileges)
bcdedit /set hypervisorlaunchtype off
# Run from elevated prompt (admin privileges)
bcdedit /set hypervisorlaunchtype auto

A reboot is required in both cases.

  • engineering/computer_science/docker/switch_between_docker_virtualbox.txt
  • Last modified: 2024/08/16 13:56
  • by carlossousa