Differences
This shows you the differences between two versions of the page.
| 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.1 | engineering: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)" | ||
| + | |||
| + | ===== 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: ==== | ||
| + | |||
| + | < | ||
| + | # Run from elevated prompt (admin privileges) | ||
| + | bcdedit /set hypervisorlaunchtype off | ||
| + | |||
| + | </ | ||
| + | ==== To go back to Docker: ==== | ||
| + | |||
| + | < | ||
| + | # Run from elevated prompt (admin privileges) | ||
| + | bcdedit /set hypervisorlaunchtype auto | ||
| + | |||
| + | </ | ||
| + | |||
| + | A reboot is required in both cases. | ||
| + | |||