Hyper-V Docker Conflict with VirtualBox AMD-V on Windows 10
Hello Stack Overflow community,
I’m facing a challenging configuration issue and would appreciate your insights. Here’s my setup:
I have Docker installed with WSL 2 and Hyper-V enabled. Additionally, I have VirtualBox installed and prefer to use AMD-V (enabled in BIOS) instead of Hyper-V with VirtualBox. However, I encounter problems when I disable Hyper-V using “bcdedit /set hypervisorlaunchtype off.”
Here’s the crux of the issue:
With Hyper-V disabled, Docker stops working.
With Hyper-V enabled, VirtualBox (and VMware) cannot utilize AMD-V; it seems to detect only Hyper-V and thinks there’s no virtualization support.
Could anyone suggest a solution or workaround that allows Hyper-V to work for Docker while enabling VirtualBox (and potentially VMware) to utilize AMD-V instead of Hyper-V?
The only thing I tried was installing Docker with WSL 1, which doesn’t require Hyper-V, but it didn’t work either; Docker refuses to function with it.