Docker Tip #18 - Cleanup all Docker volumes

After you have killed all your containers you might wonder how you would go about removing any lingering Docker volumes.

Well it is really very easy and similar to removing all Docker containers.


    docker volume rm $(docker volume ls -q)
        

Posted January 16, 2017

Up