Windows – Linux – Mac OSX Guides

How to remove dangling docker data volumes

how to find parent host ip from docker container

Quick and easy way to remove dangling data volumes:

1. Check out all of your dangling data volumes

$docker volume ls -f dangling=true

show dangling docker data volumes

2. Now remove all of them
$docker volume rm $(docker volume ls -qf dangling=true)

delete dangling docker data volumes

3. Check it again, and you will see all the danling docker data volumes have been removed completely

Tagged with:     ,

Related Articles

Loading Facebook Comments ...

Post your comments

Your email address will not be published. Required fields are marked *