📅  最后修改于: 2022-03-11 14:56:55.136000             🧑  作者: Mango
# List all volumes.
docker volume ls
# Filter output using "-f" or "--filter".
docker volume ls -f "dangling=true"
docker volume ls --filter "driver=local"
# Display only volume name using "-q" or "--quiet".
docker volume ls -q -f "driver=local"
docker volume ls --quiet --filter "driver=local"