From Fedora Project Wiki

Revision as of 18:30, 5 June 2020 by Jlebon (talk | contribs) (Created page with "{{QA/Test_Case |description=Install Fedora CoreOS and build and run containers. |setup= # Have access to a (or install a new) FCOS instance running the '''next''' stream. |ac...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Install Fedora CoreOS and build and run containers.

Setup

  1. Have access to a (or install a new) FCOS instance running the next stream.

How to test

  1. Starting with either podman or docker, build a container from a Dockerfile. For example, you can try building coreos-assembler, which is what is used to build Fedora CoreOS itself. To do this:
git clone https://github.com/coreos/coreos-assembler
cd coreos-assembler
podman build -t cosa .
  1. Try to run the container. If you've built coreos-assembler, you can try podman run -ti --rm cosa shell.
  2. If you used podman, repeat the steps with docker and vice-versa. Note that it might be easier to use a new host since there are known conflicts between podman and docker

Expected Results

  1. You can build a container using both podman and docker.
  2. You can run a built container using podman and docker.

Optional

  1. If you've built coreos-assembler and you have nested KVM enabled (or you're running on bare metal), try building Fedora CoreOS with it using the steps provided here. For the COREOS_ASSEMBLER_CONTAINER, use the tag you've specified above when building the image, e.g. cosa.