Inspect image layers

List filesystem layers of an image

podman image inspect myapp:latest | jq '.[0].RootFS.Layers'

tool
podman16 commands
tags
podmancontainersdebug

More podman commands

  • podman ps -a --format '{{.Names}}\t{{.Status}}\t{{.Image}}'

    Show all containers with name, status and image

  • podman container prune -f

    Non-interactively delete all exited containers

  • podman login registry.example.com -u myuser

    Authenticate with a container registry

  • podman generate systemd --new --files --name <name>

    Emit a portable .service that recreates the container on start; note: Quadlet is the modern way

  • podman generate kube <pod> > pod.yaml

    Reverse-engineer a running pod into a K8s manifest for migration to a cluster

all 16 podman commands