myspaghetti / macos-virtualbox

Push-button installer of macOS Catalina, Mojave, and High Sierra guests in Virtualbox on x86 CPUs for Windows, Linux, and macOS
GNU General Public License v2.0
13.46k stars 1.11k forks source link

How to solve harware-supported virtualization when I need Hyper-V for Docker? #657

Closed ProgrammerPeter2 closed 1 year ago

ProgrammerPeter2 commented 1 year ago

I'm using Docker for running some CI/CD agents on my PC, so I need Hypver-V. My question is: how can I use the srcipt without turning of hardware-supported virtualization on my windows?

myspaghetti commented 1 year ago

You can use the script on WSL2 by compiling the VirtualBox kernel module. But at that point, you're better off using QEMU/KVM on WSL2. If whatever you're running Docker on supports nested virtualization, you might want to run QEMU/KVM on that.