From Fedora Project Wiki
Description
Install Fedora CoreOS and build and run containers.
Setup
- Have access to a (or install a new) FCOS instance running the next stream.
How to test
- Using
podman
, buildfcct
from a Dockerfile, which is the tool you've used to convert FCCs to Ignition configs. To do this:
git clone https://github.com/coreos/fcct cd fcct podman build -t fcct .
- Try running the container, e.g.
podman run -ti --rm fcct --help
. - Now, use
docker
to build the container. Note that it might be easier to use a new host since there are known conflicts betweenpodman
anddocker
:
git clone https://github.com/coreos/fcct cd fcct docker build -t fcct .
- Try running the container, e.g.
docker run -ti --rm fcct --help
.
Expected Results
- You can build a container using both podman and docker.
- You can run a built container using podman and docker.
Optional
- If you're familiar with other containerized software, try building and running them too.