https://fedoraproject.org/wiki/Changes/OstreeNativeContainer and https://github.com/coreos/enhancements/blob/main/os/coreos-layering.md
are aiming to make it native to Fedora (and derivatives) to take a container build, but boot it and upgrade from it.
This repository contains example containers to demonstrate functionality.
- ansible-firewalld: Demos using Ansible to configure firewalld
- butane: Demos using https://github.com/coreos/butane
- rsyslog: Install and configure rsyslog to forward to a remote host
- wifi: Install support for wireless networks along with pre-baked configuration to join a network
- selinux: Demos changing a SELinux boolean
- inject-go-binary: Demos adding building and injecting a Go binary + systemd unit
- tailscale: Demos https://tailscale.com/download/linux/fedora
- replace-systemd: Replacing a base package, in this case systemd
-
Build an image using an example from this repo and push it to an image registry:
set IMAGE (podman build $EXAMPLE -q) podman push $IMAGE quay.io/$USER/$EXAMPLE
-
Setup a system that has
rpm-ostree
installed. One possibility is usingvirt-install
. -
Rebase the system with
rpm-ostree
to the image