← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

Encore Rebuilds Linux MicroVM Stack for Apple Silicon to Run Firecracker Locally

🔄 Updated 1h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Encore's backend builds use Firecracker microVMs.
  • Firecracker requires KVM, which is not available on macOS.
  • Encore built "crackling" to run Firecracker on Linux and Apple's hypervisor on macOS.
  • The solution involved rebuilding the Linux image toolchain for macOS.

The Challenge of Firecracker on macOS

Encore's backend applications have utilized Firecracker microVMs for builds since mid-2022. Firecracker provides virtual machine isolation with container-like startup times by stripping down emulated hardware to essential Linux kernel needs. However, Firecracker relies on KVM, a Linux-specific virtualization module, making it incompatible with macOS, where most Encore engineers develop.

Developing a Cross-Platform Solution

To allow engineers to run the build system locally on their Macs while maintaining Firecracker in production, Encore developed "crackling." This single microVM API orchestrates Firecracker on Linux and Apple's native hypervisor on macOS. Implementing this required a significant effort to rebuild the Linux image toolchain to function correctly on macOS.

Previous Development Workflow

Before "crackling," Encore engineers accessed a shared build machine via SSH. This setup involved a script to onboard new users, configure their environment, and manage VM images and binaries. Updates to the environment required a second script to transfer cross-compiled binaries and manage image conversions, as Firecracker boots block devices while Docker produces layers.

Addressing Image Conversion

A key challenge was converting Docker layers into a bootable block device for Firecracker. Encore developed a custom conversion tool, as no existing solution was found. This tool operates partially on the developer's laptop and partially over SSH, facilitating the necessary image format transformation.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~17 min · 15 stories · Aug 20

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Encore developed "crackling," a new microVM API that allows their Firecracker-based backend build system to run on Apple Silicon Macs, addressing the incompatibility of Firecracker with macOS. This development enables Encore engineers to run their build system locally on their laptops, improving the development workflow.