From Fedora Project Wiki

Revision as of 14:22, 18 March 2024 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |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). |actions= # 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. |results= # The `podman inspect` comman...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.