Man page - podman-volume-ls(1)

Packages contains this manual

Manual

podman-volume-ls

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
--filter, -f=filter
--format=format
--help
--noheading, -n
--quiet, -q
EXAMPLES
SEE ALSO
HISTORY

NAME

podman-volume-ls - List all the available volumes

SYNOPSIS

podman volume ls [ options ]

DESCRIPTION

Lists 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=filter

Filter 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:

Image grohtml-1102305-1.png

--format=format

Format volume output using Go template.

Valid placeholders for the Go template are listed below:

Image grohtml-1102305-2.png

--help

Print usage statement.

--noheading, -n

Omit the table headings from the listing.

--quiet, -q

Print volume output in quiet mode. Only print the volume names.

EXAMPLES

List 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 ALSO

podman(1) , podman-volume(1)

HISTORY

November 2018, Originally compiled by Urvashi Mohnani umohnani@redhat.com ⟨ mailto:umohnani@redhat.com⟩