A Fedora 45 desktop built as a bootable container image, fedora-bootc is installed and updated with bootc and accepts only cosign-signed updates. It uses bootc's composefs backend and boots systemd-boot and a sealed unified kernel image (UKI), both signed with custom Secure Boot keys.
The repository has two parts:
flowchart LR
os["Operating system<br/>features/ image/"] -- "build.yml, release.yml" --> ghcr[("ghcr.io")]
ins["Installer<br/>installer/"] -- "release.yml" --> iso["Live ISO<br/>GitHub release"]
iso -- "installs" --> pc["Installed machine"]
ghcr -- "bootc upgrade" --> pc
The OS includes this software:
- greetd with noctalia-greeter
- Five Wayland sessions running the Noctalia shell: niri, labwc, sway, river, and wayfire
- ghostty and fish
- podman and docker
- QEMU/KVM with Virtual Machine Manager
- XRDP
- The NVIDIA driver, for machines with an NVIDIA GPU
- Fingerprint authentication, for machines with a fingerprint reader
- A local LLM server, off by default
- dae, an eBPF transparent proxy, off by default
- The Wazuh agent, off by default
Some features in features/ have a README with notes on using
them.
The image ghcr.io/lucarickli/fedora-bootc has these tags:
| Tag | Image |
|---|---|
latest-uki |
Sealed and signed |
latest |
Unsealed |
live |
The live ISO's system |
build-SHA, build-SHA-uki |
Built from commit SHA, for testing |
Releases ship every Monday, and within a day when the published images lack a critical Fedora security update. For details, see How fixes are released.
The OS never updates by itself. Update or roll back with bootc:
sudo bootc upgrade # Stage the newest image for the next boot
sudo bootc upgrade --apply # Stage it and reboot into it
sudo bootc rollback # Boot the previous image next time; the boot menu also lists it
sudo bootc status # Show the booted, staged, and rollback images
sudo bootc switch ghcr.io/lucarickli/fedora-bootc:latest-uki # Once, after installing a local buildThe live ISO's graphical wizard installs latest-uki. Download the ISO
from a release or build
it with just iso, and boot it with Secure Boot off. To install with the
wizard, or manually from any live USB drive, follow
Install fedora-bootc.
After installing, enroll the Secure Boot keys, then bind LUKS to the TPM.
The Justfile recipes need rootless podman and just 1.48 or
newer, and the VM recipes need bcvk. The
development tools, a VS Code Flatpak and a dev container, include just and
bcvk. For a shell with them, run:
toolbox create --image ghcr.io/lucarickli/devcontainer:latest dev
toolbox enter devThe VM recipes (qcow2, demo-user, vm, vm-secureboot, and vm-enroll)
run podman and QEMU on the host, even from a toolbox or the VS Code Flatpak
terminal with host access. The host needs /dev/kvm, qemu, qemu-img,
virtiofsd, edk2-ovmf, openssh-clients, systemd, glibc 2.39 or newer, and
binutils, because bcvk runs objcopy on a sealed image's UKI. A
fedora-bootc machine has all of them.
The private signing keys are in
~/.local/share/fedora-bootc/keys, which the Flatpak can't see. Run the
recipes that use or create them, such as build, seal, and keygen, from a
host shell or a toolbox.
These recipes build and test the image:
just build # Build the OS: localhost/fedora-bootc:latest (unsealed), :latest-uki (sealed)
just qcow2 # Install :latest-uki into output/disk.qcow2
just demo-user # Optional: add a demo/demo login to that disk only
just vm # Boot the disk; the greeter listing five sessions is the pass
just vm-secureboot # The same with Secure Boot enforcing; untested with Fedora's OVMF
just vm-enroll # Enroll the image's Secure Boot keys from systemd-boot, then boot under them
just check # Check script syntax and how the features fit together
just iso # Build the live ISO: output/fedora-bootc-live.iso
just --list # List every recipeWarning
The composefs backend is experimental. Boot-test every build in a VM before you install it on hardware.