podman-pod-exists(1)
π podman-pod-exists(1)
okay bestie, so this is a page from the General Commands Manual β it's podman-pod-exists, and it's about as low-stakes as a command gets, but it's SO useful for scripting, iykyk. β¨
πΈ NAME πΈ
podman-pod-exists β check if a pod exists in local storage π«Ά
π SYNOPSIS π
podman pod exists pod
β¨ DESCRIPTION β¨
So like, podman pod exists checks if a pod exists in local storage. That's it. That's the whole job. π
You can feed it either the ID or the Name of the pod β both work, no cap. Podman returns an exit code of 0 when the pod is found. A 1 is returned otherwise. And if you get an exit code of 125, that means there was an issue accessing the local storage. π
fr fr, memorize those three numbers β they're the entire vibe check of this command.
π₯ EXAMPLES π₯
Check if specified pod exists in local storage (the pod does actually exist):
$ sudo podman pod exists web; echo $?
0
Check if specified pod exists in local storage (the pod does not actually exist):
$ sudo podman pod exists backend; echo $?
1
π¦ SEE ALSO π¦
π HISTORY π
December 2018, Originally compiled by Brent Baude (bbaude at redhat dot com)
okay that's the whole page bestie, go forth and check your pods π
signing off from the General Commands Manual β it's podman-pod-exists(1), periodt. π β¨
π¦ 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