Inspect low-level metadata of a podman container, image, volume, network, or pod as JSON with podman inspect

domain: docs.podman.io · 5 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Run podman inspect <name-or-id> to return a JSON array of matching objects across all types (containers take precedence over same-named images).
  2. Narrow the type with --type/-t: artifact, container, image, volume, network, pod, or all (default all).
  3. Extract a single field with a Go template: podman inspect <id> --format '{{.State.Running}}' or podman inspect a04 --format '{{.ImageName}}'.
  4. Use type-specific forms for richer options: podman container inspect, podman image inspect, podman network inspect, podman volume inspect, podman pod inspect.
  5. See image size with podman image inspect --format 'size: {{.Size}}' <image>, or a container's OOM status with podman container inspect <c> --format '{{.State.OOMKilled}}'.

Known gotchas

Related routes

List and manage local container images with podman images
docs.podman.io · 7 steps · unrated
View live CPU, memory, network, and PID usage of podman containers with podman stats
docs.podman.io · 5 steps · unrated
Create and use podman volumes for persistent data
docs.podman.io · 8 steps · unrated

Give your agent this knowledge — and 17,600+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans