List all containers, including stopped ones

Show every container with its name, status and image

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

tool
podman16 commands
tags
podmancontainers

More podman commands

  • podman container prune -f

    Delete all exited containers without asking for confirmation

  • podman login registry.example.com -u myuser

    Log in to a container registry with your username

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

    Write a portable .service file that creates the container again on each start; the newer way is Quadlet

  • podman generate kube <pod> > pod.yaml

    Turn a running pod into a Kubernetes manifest to move it to a cluster

  • podman play kube pod.yaml --replace

    Start pods and services from a Kubernetes manifest without a cluster; --replace recreates them from scratch

all 16 podman commands