engineering:computer_science:docker:switch_between_docker_virtualbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
engineering:computer_science:docker:switch_between_docker_virtualbox [2024/08/16 13:56] – removed - external edit (Unknown date) 127.0.0.1engineering:computer_science:docker:switch_between_docker_virtualbox [2024/08/16 13:56] (current) – ↷ Page moved from refractor_computer_science:docker:switch_between_docker_virtualbox to engineering:computer_science:docker:switch_between_docker_virtualbox carlossousa
Line 1: Line 1:
 +====== 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:
 +
 +===== The Issue: =====
 +
 +Docker uses Hyper-V. VirtualBox uses VT-x. You cannot have both level 1 hypervirtualization technologies running currently.
 +
 +===== The Solution: =====
 +
 +==== To go from Docker to VirtualBox: ====
 +
 +<code>
 +# Run from elevated prompt (admin privileges)
 +bcdedit /set hypervisorlaunchtype off
 +
 +</code>
 +==== To go back to Docker: ====
 +
 +<code>
 +# Run from elevated prompt (admin privileges)
 +bcdedit /set hypervisorlaunchtype auto
 +
 +</code>
 +
 +A reboot is required in both cases.
 +