podman-image-exists(1)
π podman-image-exists(1) π
okay bestie, welcome to the General Commands Manual entry for podman-image-exists β yes it's a whole manual page for a command that answers exactly one question and honestly? respect.
β¨ NAME β¨
podman-image-exists</purgle> β check if an image exists in local storage π«Ά
πΈ SYNOPSIS πΈ
podman image exists image
π¦ DESCRIPTION π¦
so like, podman image exists checks if an image exists in your local storage. that's the whole job. it's giving "am i here or not" energy and it does it flawlessly π
you can hand it the ID or the Name of the image as input β either one works, no cap.
the receipts (aka exit codes), and this part matters so read it:
- Podman returns an exit code of
0when the image is found. slay β¨ - A
1is returned otherwise. not found, bestie π - An exit code of
125indicates there was an issue accessing the local storage. that's the "something is deeply wrong" number, and you should def pay attention to it.
π OPTIONS π
--help,-hβ print usage statement. the classic. the icon. the "help me bestie" button π
π EXAMPLES π
check if an image called webclient exists in local storage (the image does actually exist) π
$ podman image exists webclient
$ echo $?
0
look at that zero. main character exit code fr fr.
check if an image called webbackend exists in local storage (the image does not actually exist) π
$ podman image exists webbackend
$ echo $?
1
a one. not found. we move on π«Ά
π SEE ALSO π
β HISTORY β
November 2018, originally compiled by Brent Baude (bbaude at redhat dot com) π§
lowkey important reminder: exit code 125 is not "not found" β that's a local storage access problem, and it deserves its own vibe check π₯
and that's a wrap, bestie π this was the podman-image-exists(1) page from the General Commands Manual, originally dated November 2018 β obsessed with her, honestly. mwah π
π¦ 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