Scroll to navigation

DOCKER(1) Docker User Manuals DOCKER(1)

NAME

docker-volume-ls - List volumes

SYNOPSIS

docker volume ls [OPTIONS]

DESCRIPTION

Lists all the volumes Docker manages. You can filter using the -f or --filter flag. The filtering format is a key=value pair. To specify more than one filter, pass multiple flags (for example, --filter "foo=bar" --filter "bif=baz")

The currently supported filters are:

  • dangling (boolean - true or false, 1 or 0)
  • driver (a volume driver's name)
  • label (label=<key> or label=<key>=<value>)
  • name (a volume's name)

OPTIONS

-f, --filter= Provide filter values (e.g. 'dangling=true')

--format="" Pretty-print volumes using a Go template

-h, --help[=false] help for ls

-q, --quiet[=false] Only display volume names

SEE ALSO

docker-volume(1)

May 2023 Docker Community