![]() |
![]()
| ![]() |
![]()
NAMEpodman-volume-ls - List all the available volumes SYNOPSISpodman volume ls [options] DESCRIPTIONLists all the volumes that exist. The output can be filtered using the --filter flag and can be formatted to either JSON or a Go template using the --format flag. Use the --quiet flag to print only the volume names. OPTIONS--filter, -f=filterFilter what volumes are shown in the output. Multiple filters can be given with multiple uses of the --filter flag. Filters with the same key work inclusive, with the only exception being label which is exclusive. Filters with different keys always work exclusive. Volumes can be filtered by the following attributes:
--format=formatFormat volume output using Go template. Valid placeholders for the Go template are listed below:
--helpPrint usage statement. --noheading, -nOmit the table headings from the listing. --quiet, -qPrint volume output in quiet mode. Only print the volume names. EXAMPLESList all volumes. $ podman volume ls List all volumes and display content as json format. $ podman volume ls --format json List all volumes and display their Driver and Scope fields $ podman volume ls --format "{{.Driver}} {{.Scope}}" List volumes with the name foo and label blue. $ podman volume ls --filter name=foo,label=blue List volumes with the label key=value. $ podman volume ls --filter label=key=value SEE ALSOpodman(1), podman-volume(1) HISTORYNovember 2018, Originally compiled by Urvashi Mohnani umohnani@redhat.com ⟨mailto:umohnani@redhat.com⟩
|