Video: sealed bootc with transient /etc and /var
I recorded a short demo of the new composefs mount configuration support that landed in bootc#2201.
The PR adds a /usr/lib/bootc/setup-root-conf.toml file that image
authors can ship in their container image to control how the
composefs-backed root filesystem is mounted at boot:
[root] transient = truewraps the composefs lower in a tmpfs overlay, so all writes to/are discarded on reboot.[etc] mount = "transient"|"overlay"|"bind"|"none"controls how/etcis mounted from the deployment state directory.[var] mount = "none"|"bind"controls whether/varis bind-mounted from persistent state. When set tonone,/varis left as an empty composefs directory, andsystemd.volatile=stateon the kernel command line causes bootc to automatically skip the bind-mount so systemd can place a fresh tmpfs there.
This builds directly on the
sealed images series:
with a transient root and /etc, each boot starts from a clean,
verified image with no persistent mutation to the OS layer.
bootc
