Skip to content

coreos/layering-examples

Repository files navigation

Example containers that derive from (Fedora) CoreOS

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

See coreos/fedora-coreos-docs#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