So you want to run a Linux virtual machine on macOS. This is something I worked on for a while at Google — the more general problem of running Kubernetes clusters for development (i.e., minikube) on systems that didn’t natively support containers (i.e., macOS and Windows). To do so, you need to become somewhat of an expert in booting, provisioning, and managing ephemeral virtual machines (quickly).
Virtualized Linux on macOS Internals
Virtualized Linux on macOS Internals
Virtualized Linux on macOS Internals
So you want to run a Linux virtual machine on macOS. This is something I worked on for a while at Google — the more general problem of running Kubernetes clusters for development (i.e., minikube) on systems that didn’t natively support containers (i.e., macOS and Windows). To do so, you need to become somewhat of an expert in booting, provisioning, and managing ephemeral virtual machines (quickly).