podman-pod-stop(1)
π podman-pod-stop(1) β bestie, it's time to say bye to your pods
okay so this is a page from the General Commands Manual β it's the podman-pod-stop(1) situation, and we are stopping pods. let's get into it π
β¨ NAME β¨
podman-pod-stop β stop one or more pods π
π¦ SYNOPSIS π¦
podman pod stop [options] pod ...
πΈ DESCRIPTION πΈ
So what we're doing here is stopping the containers inside one or more pods. that's the whole vibe. π
You can hand over pod IDs or pod names as your input β either one works, she's flexible like that. iykyk.
π OPTIONS π
--all,-aβ stops all the pods. every single one. no survivors (affectionately) π--ignore,-iβ ignore errors when the pods you named are not in the container store. why does this exist? because sometimes a user just manually removes a pod, and then theExecStopdirective of a systemd service that references that pod goes and fails. rude. so this flag is like "bestie, it's fine, let it go" π--latest,-lβ instead of giving a pod name or ID, just use the last created pod. periodt. β οΈ note: the last started pod can be from other users of Podman on the host machine, so lowkey check yourself before you wreck yourself. also: this option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines. π«Ά--pod-id-file=fileβ read the pod ID from the file you specify and stop that pod. can be specified multiple times, so stack 'em up like stickers on a laptop. β¨--time,-t=secondsβ how many seconds to wait before forcibly stopping the running containers within the pod. use-1for an infinite wait. the drama of it all π
π EXAMPLE π
stop a pod with a given name. iconic.
$ podman pod stop mywebserverpod
cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
stop multiple pods with given IDs. multitasking queen π
$ podman pod stop 490eb 3557fb
490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
stop the last created pod. (again for the people in the back: this option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines) π£
$ podman pod stop --latest
3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
stop all pods. everybody go home π
$ podman pod stop --all
19456b4cd557eaf9629825113a552681a6013f8c8cad258e36ab825ef536e818
3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
70c358daecf71ef9be8f62404f926080ca0133277ef7ce4f6aa2d5af6bb2d3e9
cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
stop two pods via --pod-id-file. two birds, one beautifully typed command π¦
$ podman pod stop --pod-id-file file1 --pod-id-file file2
19456b4cd557eaf9629825113a552681a6013f8c8cad258e36ab825ef536e818
cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
stop all pods with a timeout of 1 second. no time wasted, main character energy β±οΈ
$ podman pod stop -a -t 1
3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
70c358daecf71ef9be8f62404f926080ca0133277ef7ce4f6aa2d5af6bb2d3e9
π SEE ALSO π
podman(1), podman-pod(1), podman-pod-start(1) β go read your siblings, they're also slaying π
π HISTORY π
July 2018, originally compiled by Peter Hunt pehunt@redhat.com β¨mailto:pehunt@redhat.comβ© β thank you Peter, we owe you one π«Άβ¨
and that's the whole page, bestie!! this was podman-pod-stop(1) from the General Commands Manual β go stop some pods, stay hydrated, and remember: pods come and go but the manpage stays forever ππ no cap.
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- fedora 43: podman-docker 5:5.6.2-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman-docker 5:5.8.4-1.fc43
- fedora 43: podman-docker 5:5.8.8-1.fc43
- fedora 43: podman-docker 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.7-1.fc44
- fedora 44: podman-docker 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- ubuntu resolute: podman-docker 5.7.0+ds2-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms