Example containers that derive from (Fedora) CoreOS

September 7, 2023 ยท View on GitHub

Fedora CoreOS is now also an OCI container image that can be used as a base image to create bootable derivative containers.

See https://github.com/coreos/fedora-coreos-docs/pull/540 for more information about how to use this.

Additional background links are:

This repository contains example containers to demonstrate functionality.

Examples

Running an example

  • 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 using virt-install.

  • Rebase the system with rpm-ostree to the image