podman-volume-exists(1)
π podman-volume-exists(1) π
okay bestie, welcome to the General Commands Manual corner of the podman-verse β this lil page is literally just one question: does ur volume exist or not. that's it. that's the whole vibe. π¦
β¨ NAME β¨
podman-volume-exists β check if the given volume exists
πΈ SYNOPSIS πΈ
podman volume exists volume
π DESCRIPTION π
so podman volume exists does exactly what it says on the tin β it checks if a volume exists. no cap. π«Ά
here's the receipts on the exit codes, and bestie u gotta memorize these:
- Podman returns an exit code of
0when the volume is found. - A
1is returned otherwise. - An exit code of
125means there was another issue. (not the volume's fault, something else went sideways π)
π OPTIONS π
--help,-hβ print usage statement. the classic "wait what does this do again" button, iconic, we stan. β¨
π EXAMPLE π
first up: check if a volume called myvol exists β and plot twist, it does actually exist:
$ podman volume exists myvol
$ echo $?
0
$
and now: check if a volume called mysql exists β and nope, this one does not actually exist:
$ podman volume exists mysql
$ echo $?
1
$
see? 0 = she's here π, 1 = she's not π. simple as.
π SEE ALSO π
π§ HISTORY π§
January 2021, originally compiled by Paul Holzinger <paul.holzinger@web.de>
ok that's the whole page fr fr, nothing hidden, nothing skipped, main character energy all the way through πΈ
and for the cute sign-off: this lil masterpiece lives under podman-volume-exists(1) in the General Commands Manual, dated back to January 2021 β go forth and check ur volumes, bestie, u got this πβ¨
π¦ 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