From Fedora Project Wiki


A simple validation test case for Podman on Fedora IoT Edition.


This testcase can be run on either an image or installation, on hardware or in virtualization.

How to test

Boot image or Installation and log in locally or SSH into booted image. For this test, use a regular user account to ensure rootless podman is working.

Check if podman is installed

 rpm -q podman

Check to see if you can pull an image from the registry

podman pull

Note when testing aarch64 you may need to include '--override-arch arm64' due to this bug

Run hello-world to test.

podman run -it echo Hello-World

Create a container from Dockerfile

For this test you can use a Dockerfile of your own or use this basic example below:

cat << EOF >> Dockerfile
RUN /usr/bin/dnf install -y httpd
ENTRYPOINT ["/usr/sbin/httpd"]

Build an image

sudo podman build -t fedora-httpd $(pwd)

Verify the image

sudo podman images

Run the container

sudo podman run -d -p 80:80 localhost/fedora-httpd

Verify the container is running

sudo podman container ls

Test apache is working, this should display the Test page html.

curl http://localhost/

Open the firewall to accept connections on port 80

 firewall-cmd --permanent --zone=trusted --add-interface=cni-podman0
 firewall-cmd --permanent --zone=trusted --add-port=80/tcp

Open a web browser on another computer and enter the IP address to test the page is visible.


  1. Latest image pulled successfully from the Registry
  2. podman is installed
  3. Hello World is displayed
  4. Custom container created, httpd test page visible on a browser or using curl.