From Fedora Project Wiki

Revision as of 14:20, 18 March 2024 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |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. |actions= # Open a terminal. # Find the container ID or name of the stopped container using `podman ps -a`. # Execute `podman rm <container-id-or-name>` to remove the stopped container. |results= # The specified container is removed without error. # Running `podman ps -...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.