One Liner Delete All Docker Volumes

In this blog post, I will show you how to delete all the Docker volumes on your Docker host.

Remove Volumes

The following command will delete all the Docker volumes on your Docker host.

docker volume rm -f $(docker volume ls)

You can check the one liner code to delete all Docker containers.

Processing…
Success! You're on the list.

Posted

in

by