3 ms·
This is based off of Apple’s new Virtualization.framework introduced in Big Sur that lets you spin a Linux VM with half a dozen lines of code. The technology is
by osy 6y ago
This is based off of Apple’s new Virtualization.framework introduced in Big Sur that lets you spin a Linux VM with half a dozen lines of code. The technology is still in its infancy (minimal emulated devices; not sure if there’s even a framebuffer) and I’d wait for something like Docker running on Hypervisor.framework (lower level APIs but more mature).
- indigo747 6y agoxhyve[0] doesn't look entirely production ready, but emulates a number of devices including networking, block storage, and a framebuffer while being based on Hypervisor.framework. [0] https://github.com/machyve/xhyve https://github.com/machyve/xhyve
- cpuguy83 6y agoDocker For Mac is based on "Hyperkit" which is based on xhyve. So xhyve has a fair bit of mileage on it.
- spijdar 6y agoDoes xhyve have any support for ARM though? I remember it as being pretty x86 specific re: emulated devices and targets. A very quick glance doesn't suggest this has changed.
- ogre_codes 6y ago> The technology is still in its infancy This is definitely in the experimental phase and not something for general use. The fact that there is a simple implementation is cool.
- justincormack 6y agoFor Docker, virtualization framework is fine and provides everything we need. There is no framebuffer on hypervisor framework. There will be an arm qemu port for hypervisor framework fairly soon. I have Docker running on M1 with VF see https://twitter.com/justincormack/status/1331965304273047553 https://twitter.com/justincormack/status/1331965304273047553