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

  1. Open a terminal.
  2. Execute podman run --rm -it fedora:latest /bin/bash to start a container with an interactive shell.

Expected Results

  1. A new container starts without error, providing access to a bash shell.
  2. 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.