docker volume ls
docker volume ls
Description
List volumes
Usage
docker volume ls [OPTIONS]
Options
Name, shorthand | Default | Description |
---|---|---|
--filter, -f | Provide filter values (e.g. ‘dangling=true’) | |
--format | Pretty-print volumes using a Go template | |
--quiet, -q | false | Only display volume names |
Parent command
Command | Description |
---|---|
docker volume | Manage volumes |
Extended description
Lists all the volumes Docker knows about. 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
orfalse
,1
or0
) -
driver
(a volume driver’s name) -
label
(label=<key>
orlabel=<key>=<value>
) -
name
(a volume’s name)
© 2013–2016 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.
https://docs.docker.com/engine/reference/commandline/volume_ls/