firecracker (firecracker-microvm/firecracker)

Searching Database…

What is this?Firecracker is an open-source virtualization technology for creating and managing secure, multi-tenant microVMs for container and function-based serverless workloads.
Is this a container runtime or something else?It's a virtual machine monitor (VMM) that uses Linux KVM to run lightweight microVMs, combining hardware virtualization security with container-like speed; it has been integrated into container runtimes like Kata Containers and Flintlock.
How do I get it running?Download the latest release binaries or build from source using Docker (a development container) and bash on any Unix/Linux system; the binary ends up at build/cargotarget/${toolchain}/debug/firecracker.
Do I need KVM and a specific host setup?Yes, it requires the Linux KVM subsystem on the host, and for safe multi-tenant use it depends on a well-configured host OS as described in the production host setup document.
Any known limitations I should know about?On aarch64, the pl031 RTC device doesn't support interrupts, so guest programs relying on an RTC alarm (like hwclock) won't work; it's also only tested on specific AWS EC2 metal instance/kernel combinations.
Does it work on both Intel and ARM hardware?Yes, it's tested across Intel (Cascade Lake, Ice Lake, Sapphire Rapids, Granite Rapids), AMD (Milan, Genoa), and AWS Graviton (ARM) metal instances.
How does the jailer improve security?The Jailer process starts Firecracker in production scenarios by applying a cgroup/namespace isolation barrier and then dropping privileges before the microVM runs.
What can I configure through the API?The API endpoint lets you set vCPU count, memory size, CPU templates, network interfaces, file-backed block devices with rate limiters, vsock sockets, entropy and pmem devices, memory hotplugging, and even hot-plug virtio PCI devices while running, plus logging and metrics.
How fast and lightweight are these microVMs?MicroVMs default to 1 vCPU and 128 MiB of memory, use demand fault paging and CPU oversubscription by default, and are built to minimize startup time and attack surface by excluding unnecessary devices.
How often are new versions released?New Firecracker versions are released via GitHub roughly every two or three months, with changes tracked in the changelog.
What are similar projects?motor-os, ftl, CubeSandbox, open-compute, smolvm, allox-os, arcbox, gvisor
Size
44.6 MB
Stars
38.3K
Age
9y
Commits · 90 Days