From Fedora Project Wiki
(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...") |
No edit summary |
||
Line 5: | Line 5: | ||
|actions= | |actions= | ||
# | # Using `podman`, build `fcct` from a Dockerfile, which is the tool you've used to convert FCCs to Ignition configs. To do this: | ||
<pre> | <pre> | ||
git clone https://github.com/coreos/ | git clone https://github.com/coreos/fcct | ||
cd | cd fcct | ||
podman build -t | podman build -t fcct . | ||
</pre> | </pre> | ||
# Try | # 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 [https://docs.fedoraproject.org/en-US/fedora-coreos/faq/#_can_i_run_containers_via_docker_and_podman_at_the_same_time known conflicts between `podman` and `docker`]: | ||
<pre> | |||
git clone https://github.com/coreos/fcct | |||
cd fcct | |||
docker build -t fcct . | |||
</pre> | |||
# Try running the container, e.g. `docker run -ti --rm fcct --help`. | |||
|results= | |results= | ||
Line 19: | Line 25: | ||
|optional= | |optional= | ||
# If | # If you're familiar with other containerized software, try building and running them too. | ||
}} | }} | ||
[[Category:CoreOS Test Cases]] | [[Category:CoreOS Test Cases]] |
Revision as of 19:02, 5 June 2020
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.