Remove a Podman pod and its containers with podman pod rm

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

Documented steps

  1. Run `podman pod rm <pod-name-or-id>` to remove a stopped pod and its containers. Only fully-stopped (all user containers exited) pods are removed without flags.
  2. Force removal of a running pod by stopping containers first: `podman pod rm -f <pod>`.
  3. Remove all pods at once with `podman pod rm -a` (combine with -f: `podman pod rm -fa`).
  4. Tune the stop grace period with `-t <seconds>` (requires --force); use -1 for infinite wait.
  5. Exit status guides scripting: 0=all removed, 1=one pod didn't exist, 2=a pod is still attached to a container, 125=other failure.
  6. Official docs: https://docs.podman.io/en/latest/markdown/podman-pod-rm.1.html

Known gotchas

Related routes

Stop and remove podman containers
containers · 5 steps · unrated
Stop and remove podman containers
docs.podman.io · 8 steps · unrated
Tear down pods and containers created by podman kube play using podman kube down
podman.io · 6 steps · unrated

Give your agent this knowledge — and 17,500+ 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