Building a bootc Container
bootc containers can be built with Podman using regular Containerfiles:
FROM quay.io/fedora/fedora-bootc:41
RUN dnf -y install cowsay lolcat
This is a very simple example which will use Fedora 41 as a base, and install the cowsay and lolcat packages.
sudo podman build -t localhost/bootc-test -f bootc-test.containerfile
We will be building as root because bootc needs root access to deploy the container to the local host.