logoalt Hacker News

bittermandeltoday at 9:14 AM2 repliesview on HN

By experience, getting Firecracker to run well on M-series macs is quite the undertaking. I'm not at all surprised Encore decided to take this path considering their customer base!

At Lovable we decided to spend ~1 engineering month getting our sandbox infrastructure to be 100% runnable on Mac and on Linux with predictable builds using Bazel etc.

But we actively decided to take a different route than Encore and run nested virtualization, which on macOS means vfkit -> QEMU -> Kind + Firecracker vm(s). It's been invaluable to get the same development and testing tools on both platforms tbh.


Replies

srcreightoday at 11:37 AM

Note M1 and M2 macs don’t have hardware support for nested virt.

drunkonvinyltoday at 11:26 AM

I’d like to learn more about doing this myself - do you recommend any good guides or posts?

show 1 reply