From Fedora Project Wiki

Description

This test case ensures that Podman can remove a stopped container from the system.

Setup

Ensure Podman is installed and has at least one stopped container that can be removed.

How to test

  1. Open a terminal.
  2. Find the container ID or name of the stopped container using podman ps -a.
  3. Execute podman rm <container-id-or-name> to remove the stopped container.

Expected Results

  1. The specified container is removed without error.
  2. Running podman ps -a confirms that the container no longer appears in the list.

Optional

Test removing multiple containers at once to verify batch deletion functionality.