Inspect image layers
List filesystem layers of an image
podman image inspect myapp:latest | jq '.[0].RootFS.Layers'
- tool
- podman16 commands
More podman commands
-
podman ps -a --format '{{.Names}}\t{{.Status}}\t{{.Image}}'Show all containers with name, status and image
-
podman container prune -fNon-interactively delete all exited containers
-
podman login registry.example.com -u myuserAuthenticate 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.yamlReverse-engineer a running pod into a K8s manifest for migration to a cluster