A minimal, immutable, container-optimized Linux operating system
open sourcemany open source licences, one per packageself-hostablefree
Flatcar Container Linux is a minimal, immutable Linux distribution for running containers, and the active successor to CoreOS Container Linux: its FAQ calls it a drop-in replacement, still maintained after CoreOS Container Linux was discontinued. It has no package manager and a read-only /usr; machines are configured at first boot with Ignition (written as Butane YAML), and updates install atomically to a second /usr partition, take effect on reboot and fall back automatically if the boot fails. containerd and Docker ship as default systemd-sysext extensions, with opt-in ones for Podman, ZFS, Python and NVIDIA drivers, and Kubernetes runs on it with kubeadm, Cluster API or Kubespray. Releases move through Alpha, Beta and Stable channels, plus an LTS channel maintained for 18 months, and the Nebraska update server manages fleets' updates. It's a CNCF Incubating project (accepted August 2024) and a Series of LF Projects, with Microsoft, which acquired Kinvolk, among its sponsors.
Problems it solves
- our container hosts drift apart over time because people patch and install things on them by hand
- we still run CoreOS Container Linux, which was discontinued, and need a maintained replacement that works the same way
- keep the OS on hundreds of container hosts patched automatically without breaking them
- roll a host back to the previous OS version automatically when an update fails to boot
- control which machines get an OS update and when, in groups, for a large fleet
- provision a server's users, disks, network and systemd units from one config file at first boot
- shrink the attack surface of the Linux under our Kubernetes nodes to only what containers need
- run the same container host image on AWS, Azure, Hetzner, VMware, Proxmox and bare metal
- add ZFS, Podman or NVIDIA drivers to a host whose root filesystem is read-only
- stay on one OS major version for over a year with security fixes instead of upgrading every few months
- boot Kubernetes worker nodes from an immutable image and join them with kubeadm
Features
- no package manager; read-only /usr partition
- atomic USR-A/USR-B updates applied on reboot, with automatic fallback to the previous partition
- Ignition provisioning at first boot, written as Butane configs
- containerd and Docker included as default (opt-out) systemd-sysext extensions
- opt-in extensions for Podman, Incus, ZFS, Python, overlaybd and NVIDIA drivers; community extensions from sysext-bakery
- Nebraska update manager for instance groups and update channels
- Alpha, Beta, Stable and LTS release channels; updates planned on a 14-day cadence in each
- LTS streams maintained for 18 months, a new one yearly with 6 months' overlap
- Kubernetes with kubeadm (via a Kubernetes sysext or plain binaries), Cluster API images or Kubespray
- images for AWS, Azure, Google Cloud, Hetzner, DigitalOcean, OpenStack, VMware, Proxmox, QEMU, Hyper-V, KubeVirt and more clouds
View 2 more
- amd64 and arm64 builds
- drop-in replacement for CoreOS Container Linux
Limitations
- No package manager: software runs in containers or is added as systemd-sysext system extensions, since /usr is read-only12
Capabilities
| Takes plugins | plan not known |
|---|
What people say
- Adobe says it runs Flatcar on over 18,000 nodes in its Kubernetes clusters across multiple clouds and private data centers in 22 regions source
Alternatives
The same job
These do what Flatcar Container Linux does.
- Fedora CoreOS A minimal OS with automatic updates. Scalable and secure.
- Bottlerocket A Linux-based operating system optimized for hosting containers
- openSUSE MicroOS Micro Service OS providing Transactional (Atomic) Updates upon a read-only btrfs root filesystem
- Talos Linux Immutable, API-driven Linux for Kubernetes, with nothing to log into
- openSUSE Leap Micro An ultra-reliable, lightweight operating system built for containerized and virtualized workloads