A minimal OS with automatic updates. Scalable and secure.
open sourcemany open source licences, one per packageself-hostablefree
Fedora CoreOS is an automatically updating, minimal, container-focused operating system from the Fedora Project, made for clusters but usable standalone, and optimized for Kubernetes without including it. Machines are provisioned once at first boot with Ignition, usually written as Butane YAML; cloud-init configs aren't supported. The OS updates atomically through rpm-ostree, with the Zincati agent fetching new releases from the stable, testing or next stream and rebooting on a schedule or under a cluster-wide lock, and any update can be rolled back. Docker and Podman are included, and software outside the base image runs in containers. It's the upstream of RHEL CoreOS, which runs Red Hat OpenShift, and has images for the major clouds, hypervisors and bare metal on x86_64, aarch64, ppc64le and s390x.
Problems it solves
- keep the hosts that run our containers updated automatically without anyone logging in to patch them
- provision a server's disks, users, network and systemd units from one config at first boot
- roll back a container host to the previous OS version after a bad update
- stop all our nodes from rebooting for updates at the same time
- only let machines reboot for OS updates inside a maintenance window
- run Podman or Docker containers on a minimal host OS that stays the same on every machine
- test the next OS release on a few machines before it reaches the rest of our fleet
- use the same immutable host image on AWS, Azure, Google Cloud, Hetzner, Proxmox and bare metal
- run a container host OS on IBM Z (s390x) or POWER (ppc64le) hardware
- boot servers over the network with iPXE into an immutable Linux and set them up automatically
- set up LUKS disk encryption and custom partitions when a server first boots
- community, free upstream of the OS under OpenShift for my own Kubernetes or OKD nodes
Features
- automatic atomic updates and rollbacks through rpm-ostree and OSTree deployments
- Zincati update agent with rollout wariness and reboot strategies: immediate, maintenance windows or a cluster-wide lock
- stable, testing and next update streams; switch with rpm-ostree rebase
- provisioned at first boot with Ignition, written as Butane YAML
- Docker and Podman included
- Toolbx for troubleshooting tools outside the minimal image
- /etc and /var writable and kept across upgrades
- images for AWS, Azure, Azure Stack, Google Cloud, Alibaba Cloud, DigitalOcean, Exoscale, Hetzner, IBM Cloud, Oracle Cloud, OpenStack, Nutanix, Vultr and KubeVirt
- hypervisor images for QEMU, libvirt, Hyper-V, Proxmox VE, VirtualBox, VMware and macOS (Apple Hypervisor)
- bare metal installs with BIOS, UEFI or network boot, and live booting via iPXE
View 2 more
- x86_64, aarch64, ppc64le and s390x architectures
- upstream basis for RHEL CoreOS; OKD's Machine Config Operator manages its updates in OKD clusters
Limitations
- Doesn't support cloud-init configurations: machines are provisioned with Ignition, so existing cloud-init configs must be migrated1
- Doesn't include Kubernetes or any other container orchestrator: you install the orchestrator yourself1
- No supported way to install packages on the host: software outside the base OS runs in containers, and rpm-ostree package layering is strongly discouraged1
Alternatives
The same job
These do what Fedora CoreOS does.
- Flatcar Container Linux A minimal, immutable, container-optimized Linux operating system
- 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
- openSUSE Leap Micro An ultra-reliable, lightweight operating system built for containerized and virtualized workloads
- Talos Linux Immutable, API-driven Linux for Kubernetes, with nothing to log into