From Fedora Project Wiki
Description
This test case verifies that Podman can provide detailed information about a specific container.
Setup
Ensure Podman is installed and has at least one container (running or stopped).
How to test
- Open a terminal.
- Identify the container you wish to inspect using
podman ps -a
and note its ID or name. - Execute
podman inspect <container-id-or-name>
to retrieve detailed information about the container.
Expected Results
- The
podman inspect
command outputs a JSON object containing detailed information about the specified container, including its configuration, state, and network settings. - All expected fields (e.g., Image, Name, State) are present and correctly populated.
Optional
Inspect various containers with different states or configurations to assess the consistency and completeness of the output.