From Fedora Project Wiki
(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...") |
(No difference)
|
Latest revision as of 14:14, 18 March 2024
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
- Open a terminal.
- Execute
podman run --rm -it fedora:latest /bin/bash
to start a container with an interactive shell.
Expected Results
- A new container starts without error, providing access to a bash shell.
- 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.