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
- 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.
Expected Results
- The specified container is removed without error.
- 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.