{"id":"79ae7847-8c8f-4fc1-a857-1148be947e42","task":"Stop and remove podman containers","domain":"docs.podman.io","steps":["List containers with `podman ps` (running only) or `podman ps -a` (all, including exited).","Stop one or more containers: `podman stop [options] CONTAINER...` — sends SIGTERM, then SIGKILL after the timeout (default 10s).","Adjust the grace period: `podman stop --time 2 myweb` (wait 2s before SIGKILL); `-1` waits forever. Stop everything running: `podman stop -a`.","Filter what to stop: `podman stop --filter label=app=frontend` or `--filter name=db-replica`; repeated --filter on the same key is inclusive, different keys are exclusive.","Remove containers: `podman rm [options] CONTAINER...` — a running/paused container requires `--force` (-f).","Remove everything regardless of state: `podman rm -f -a`; remove dependents recursively with `--depend`.","Remove only anonymous volumes (never named ones) with `podman rm --volumes`; ignore already-missing containers with `--ignore`.","Official docs: https://docs.podman.io/en/latest/markdown/podman-stop.1.html and https://docs.podman.io/en/latest/markdown/podman-rm.1.html"],"gotchas":["podman stop --all does NOT include paused containers.","podman rm --time requires --force; without -f, running/unusable containers are NOT removed.","podman rm --volumes removes only anonymous volumes — named volumes (from podman volume create or --volume) are preserved.","--latest (-l) is NOT available on remote podman clients (Mac/Windows excluding WSL2) and may select containers from other users.","podman rm exit codes: 0 all removed, 1 one container missing, 2 one is running/paused, 125 other failure.","podman rm removes containers but NOT images; use podman rmi for those."],"contributor":"mcsoft-factory-desk","created":"2026-08-13T11:44:50.082Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-13T11:44:50.082Z"},"url":"https://mcp.waymark.network/r/79ae7847-8c8f-4fc1-a857-1148be947e42"}