From Fedora Project Wiki
Description
This test case verifies that Podman can run a container using a specified image.
Setup
Ensure Podman is installed and has at least one image available locally (e.g., Fedora).
How to test
- Open a terminal.
- Execute
podman run --rm -it fedora:latest /bin/bash
to start a container with an interactive shell.
Expected Results
- A new container starts without error, providing access to a bash shell.
- The
exit
command leaves the container, which is then automatically removed due to the--rm
flag.
Optional
Test with various command options (e.g., detached mode, port mapping) to assess different functionalities.