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

  1. Open a terminal.
  2. Identify the container you wish to inspect using podman ps -a and note its ID or name.
  3. Execute podman inspect <container-id-or-name> to retrieve detailed information about the container.

Expected Results

  1. The podman inspect command outputs a JSON object containing detailed information about the specified container, including its configuration, state, and network settings.
  2. 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.