podman-volume-ls(1)
podman-volume-ls β the glow-up guide π β¨
okay so bestie, listen β you want to see every single volume chillin' on your system? this is literally the command for that. it's podman-volume-ls, and it's giving "let me show you what's in my closet" but for storage. no cap, it's iconic.
NAME π
podman-volume-ls β list all the available volumes, periodt.
SYNOPSIS β¨
podman volume ls [options]
DESCRIPTION πΈ
so this command lists all the volumes that exist on your system. that's it, that's the vibe. π
but here's where it gets cute β you can:
- filter the output with the
--filterflag (iykyk, we'll get to that) - format it as either JSON or a Go template using the
--formatflag - use the
--quietflag to print only the volume names (for when you're lowkey in a rush)
it's flexible, it's powerful, it's main character energy fr fr. π¦
OPTIONS π
--filter, -f=filter π
okay so this one filters what volumes are shown in the output. super useful when you have like a million volumes and you only care about a few.
important rule: if you have more than one filter, you gotta pass the --filter option multiple times β like this:
--filter name=test --filter driver=local
now let's talk filter logic because it's giving β¨nuanceβ¨:
- filters with the same key work inclusive β the only exception is
label, which is exclusive - filters with different keys always work exclusive
volumes can be filtered by these attributes, bestie:
anonymousβ [Bool] matches anonymous volumes (true) or named volumes (false)danglingβ [Dangling] matches all volumes not referenced by any containersdriverβ [Driver] matches volumes based on their driverlabelβ [Key] or [Key=Value] label assigned to a volumelabel!β [Key] or [Key=Value] volumes without the specified labelnameβ [Name] volume name (accepts regex!)optβ matches a storage driver optionsscopeβ filters volume by scopeafter/sinceβ filter by volumes created after the given VOLUME (name or tag)untilβ filter by volumes created before given timestamp
--format=format π¨
this beautifies your volume output using a Go template. valid placeholders for the Go template are listed below β no gatekeeping here:
.Anonymousβ indicates whether volume is anonymous.CreatedAt ...β volume creation time.Driverβ volume driver.GIDβ GID of volume.InspectVolumeData ...β don't use π.Labels ...β label information associated with the volume.LockNumberβ number of the volume's Libpod lock.MountCountβ number of times the volume is mounted.Mountpointβ source of volume mount point.Nameβ volume name.NeedsChownβ indicates whether volume needs to be chowned.NeedsCopyUpβ indicates if volume needs to be copied up to.Options ...β volume options.Scopeβ volume scope.Status ...β status of the volume.StorageIDβ StorageID of the volume.Timeoutβ timeout of the volume.UIDβ UID of volume.VolumeConfigResponse ...β don't use π
--help πββοΈ
prints the usage statement. simple, slay.
--noheading, -n π
omits the table headings from the listing. for when you're feeling minimalistic, periodt.
--quiet, -q π€«
prints volume output in quiet mode β only the volume names. no labels, no drivers, no extras. just vibes.
EXAMPLES π
list all volumes β the classic:
$ podman volume ls
list all volumes and display content as json format β for the data girlies:
$ podman volume ls --format json
list all volumes and display their Driver and Scope fields β a little curated moment:
$ podman volume ls --format "{{.Driver}} {{.Scope}}"
list volumes with the name foo and label blue β specific and cute:
$ podman volume ls --filter name=foo,label=blue
list volumes with the label key=value β iykyk:
$ podman volume ls --filter label=key=value
SEE ALSO π
HISTORY π
November 2018 β originally compiled by Urvashi Mohnani (umohnani@redhat.com β¨mailto:umohnani@redhat.comβ©). a true icon, we stan. π
okay bestie, that's the whole page β from the podman-volume-ls(1) header all the way down to the podman-volume-ls(1) footer, which means this manual page is from general commands land and was compiled back in November 2018 by Urvashi Mohnani. slayed. π
β¨π«Ά
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms