podman-volume-inspect - Get detailed information on one or more volumes
podman volume inspect [options] volume [...]
Display detailed information on one or more volumes. The output can be formatted using the --format flag and a Go template. To get detailed information about all the existing volumes, use the --all flag. Volumes can be queried individually by providing their full name or a unique partial name.
Inspect all volumes.
Format volume output using Go template
Valid placeholders for the Go template are listed below:
Print usage statement
$ podman volume
inspect myvol
[
{
"Name": "myvol",
"Driver": "local",
"Mountpoint":
"/home/myusername/.local/share/containers/storage/volumes/myvol/_data",
"CreatedAt":
"2023-03-13T16:26:48.423069028-04:00",
"Labels": {},
"Scope": "local",
"Options": {},
"MountCount": 0,
"NeedsCopyUp": true,
"NeedsChown": true
}
]
$ podman volume
inspect --all [
{
"Name": "myvol",
"Driver": "local",
"Mountpoint":
"/home/myusername/.local/share/containers/storage/volumes/myvol/_data",
"CreatedAt":
"2023-03-13T16:26:48.423069028-04:00",
"Labels": {},
"Scope": "local",
"Options": {},
"MountCount": 0,
"NeedsCopyUp": true,
"NeedsChown": true
} ]
$ podman volume inspect --format "{{.Driver}} {{.Scope}}" myvol local local ‘‘‘
podman(1), podman-volume(1), podman-inspect(1)
November 2018, Originally compiled by Urvashi Mohnani [email protected] 〈mailto:[email protected]〉