← Retour au blog
tech 21 August 2026

We Rebuilt the Linux MicroVM Stack on Apple Silicon

Learn how we adapted Firecracker to run on macOS with Apple Silicon, and the challenges faced in integrating Linux with Apple's hypervisor.

Article inspired by the original source
We Rebuilt the Linux MicroVM Stack on Apple Silicon ↗ encore.dev

Introduction

With the advent of Apple Silicon, the computing ecosystem has undergone a significant transformation. For developers and engineers working on Linux microVMs, this presented both unique challenges and opportunities. Firecracker, an open-source project developed by AWS, enables microVMs to run with impressive efficiency and speed. However, making Firecracker work on macOS, especially with the new Apple Silicon chips, required an innovative approach.

Why Firecracker on Apple Silicon?

Firecracker is designed to create lightweight, isolated, and secure execution environments. These microVMs are ideal for running large-scale workloads while minimizing latency. With the massive shift to Apple Silicon, which offers increased computing power and better energy management, adapting Firecracker to leverage these hardware improvements was crucial.

Compatibility Challenges

The main hurdle was the lack of /dev/kvm on macOS, a critical interface for KVM (Kernel-based Virtual Machine) operation. Apple has no plans to introduce this feature, leaving developers to seek alternatives. The solution? Using Apple's virtualization framework, which, while powerful, imposes certain limitations compared to KVM.

The Solution: Crackling

To circumvent these limitations, the team developed Crackling, a single microVM API that enables Firecracker to run on both Linux and Apple's hypervisor on macOS. This required a significant overhaul of the Linux image toolchain to operate seamlessly on macOS.

Development Process

For four years, engineers worked on a shared remote machine, necessitating complex scripts to manage personal environments. With Crackling, it's now possible to run the same images on both systems, facilitating local development and continuous integration.

Use Cases and Benefits

Adopting this solution provides tangible benefits:

  • Improved Performance: Developers can now harness the computing power of Apple Silicon to test and deploy faster.
  • Increased Flexibility: Teams are no longer restricted to a remote environment, fostering rapid iteration and collaboration.

Concrete Examples

A tech startup successfully reduced its deployment time by 30% using this new stack, thereby increasing its ability to meet customer demands.

Conclusion

Rebuilding the Linux MicroVM stack on Apple Silicon was no small feat, but the result is a robust solution that opens up new horizons for software development. Whether you're a tech decision-maker or a developer, this innovation is a game changer for managing microVMs on macOS.

Let's discuss your project in 15 minutes.

Firecracker Apple Silicon MicroVM Linux Virtualization
Deepthix newsletter · 100% AI · every Monday 8am

An AI agent reads tech for you.

Our AI agent scans ~200 sources per week and ships the best articles to your inbox Monday 8am. Free. One click to unsubscribe.

Visit the newsletter page →

Want to automate your operations?

Let's talk about your project in 15 minutes.

Book a call