3 ms·
This diagram explains it very well, thanks! So there's only 1 VM, running a modified Linux kernel (https://github.com/orbstack/linux-macvirt/commits/mac-pub ht
by rhaps0dy 3y ago
This diagram explains it very well, thanks!
So there's only 1 VM, running a modified Linux kernel (https://github.com/orbstack/linux-macvirt/commits/mac-pub https://github.com/orbstack/linux-macvirt/commits/mac-pub) with a barebones userland. Then inside there's a bunch of souped-up chroots (probably LXC/LXD), running the various linux distribution VMs as well as one that just runs `dockerd`.
Here it specifies that all the VMs share 1 kernel: https://docs.orbstack.dev/architecture#linux-machines https://docs.orbstack.dev/architecture#linux-machines
On top of this, it's fast because it uses Rosetta (which is very fast) and kdrag0n spent a lot of time optimizing various parts of the kernel and the resulting environment.