podman-volume-inspect(1)

πŸ’– podman-volume-inspect(1) πŸ’–

okay bestie, welcome to the podman-volume-inspect page from the General Commands Manual β€” yes she's a real one, and she's about to spill all the tea on your volumes ✨


🌸 NAME 🌸

podman-volume-inspect β€” get the full 411 on one volume, or a whole squad of them 🫢


✨ SYNOPSIS ✨

podman volume inspect [options] volume [...]

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, this command shows you the detailed info on one or more volumes. The output can be formatted with the --format flag and a Go template, which is giving customizable main character energy πŸ’…

Wanna know about every single volume that exists? Use the --all flag, periodt.

And you can query volumes one at a time by handing over their full name β€” or a unique partial name if you're feeling lazy but still correct. No cap.


πŸŽ€ OPTIONS πŸŽ€

  • --all, -a β€” inspect every single volume, all of them, the whole friend group πŸ”₯
  • --format, -f=format β€” format the volume output using a Go template ✨

The valid placeholders for the Go template are listed below, bestie, memorize them iykyk:

  • .Anonymous β€” indicates whether the volume is anonymous
  • .CreatedAt ... β€” volume creation time
  • .Driver β€” volume driver
  • .GID β€” GID the volume was created with
  • .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 volume will be chowned on next use
  • .NeedsCopyUp β€” indicates data at the destination will be copied into the volume on next use
  • .Options ... β€” volume options
  • .Scope β€” volume scope
  • .Status ... β€” status of the volume
  • .StorageID β€” StorageID of the volume
  • .Timeout β€” timeout of the volume
  • .UID β€” UID the volume was created with
  • --help β€” print usage statement 🫢

🌈 EXAMPLES 🌈

Inspect named volume.

$ 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
     }
]

Inspect all volumes.

$ 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
     }
]

Inspect named volume and display its Driver and Scope field.

$ podman volume inspect --format "{{.Driver}} {{.Scope}}" myvol
local local

πŸ‘‘ SEE ALSO πŸ‘‘

podman(1), podman-volume(1), podman-inspect(1)


πŸ’œ HISTORY πŸ’œ

November 2018, originally compiled by Urvashi Mohnani umohnani@redhat.com ⟨mailto:umohnani@redhat.com⟩ β€” iconic, we stan a documentation queen πŸ‘‘


and that's the whole page babes πŸ“ tysm for reading, this was the General Commands Manual edition of podman-volume-inspect(1), born way back in November 2018 and still slaying to this day. go inspect something, you deserve it πŸ§šπŸ’–

πŸ“¦ where this page comes from