From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=This test case checks if Podman can list running and stopped containers correctly. |setup=Ensure Podman is installed and has run at least one container. |actions= # Open a terminal. # Execute `podman ps` to list running containers. # Execute `podman ps -a` to list all containers, including stopped ones. |results= # The `podman ps` command lists currently running containers. # The `podman ps -a` command shows all containers, correctly reflectin...") |
(No difference)
|
Latest revision as of 14:19, 18 March 2024
Description
This test case checks if Podman can list running and stopped containers correctly.
Setup
Ensure Podman is installed and has run at least one container.
How to test
- Open a terminal.
- Execute
podman ps
to list running containers. - Execute
podman ps -a
to list all containers, including stopped ones.
Expected Results
- The
podman ps
command lists currently running containers. - The
podman ps -a
command shows all containers, correctly reflecting their status (running or stopped).
Optional
For a more comprehensive test, create containers with different statuses (paused, restarting) and verify if they are listed appropriately.