github.com/hustcat/docker@v1.3.3-0.20160314103604-901c67a8eeab/docs/reference/commandline/volume_ls.md (about) 1 <!--[metadata]> 2 +++ 3 title = "volume ls" 4 description = "The volume ls command description and usage" 5 keywords = ["volume, list"] 6 [menu.main] 7 parent = "smn_cli" 8 +++ 9 <![end-metadata]--> 10 11 # volume ls 12 13 Usage: docker volume ls [OPTIONS] 14 15 List volumes 16 17 -f, --filter=[] Provide filter values (i.e. 'dangling=true') 18 --help Print usage 19 -q, --quiet Only display volume names 20 21 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"`) 22 23 There is a single supported filter `dangling=value` which takes a boolean of `true` or `false`. 24 25 Example output: 26 27 $ docker volume create --name rose 28 rose 29 $docker volume create --name tyler 30 tyler 31 $ docker volume ls 32 DRIVER VOLUME NAME 33 local rose 34 local tyler 35 36 ## Related information 37 38 * [volume create](volume_create.md) 39 * [volume inspect](volume_inspect.md) 40 * [volume rm](volume_rm.md) 41 * [Understand Data Volumes](../../userguide/containers/dockervolumes.md)