Answers for "docker remove all volumes not in use"

3

docker remove all volume

docker volume rm $(docker volume ls -q)
Posted by: Guest on June-25-2020
0

remove all unused volumes docker

$ docker volume prune

WARNING! This will remove all local volumes not used by at least one container.
Are you sure you want to continue? [y/N] y
Deleted Volumes:
07c7bdf3e34ab76d921894c2b834f073721fccfbbcba792aa7648e3a7a664c2e
my-named-vol

Total reclaimed space: 36 B
Posted by: Guest on February-23-2021

Code answers related to "docker remove all volumes not in use"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language