From Fedora Project Wiki

Revision as of 14:14, 18 March 2024 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |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). |actions= # Open a terminal. # Execute `podman run --rm -it fedora:latest /bin/bash` to start a container with an interactive shell. |results= # A new container starts without error, providing access to a bash shell. # The `exit` command leaves the container, which is th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.