Skip to content

siameseoriental/search_and_remove_orphaned_volumes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Search and remove orphaned docker volumes

Script to search and delete orphaned docker volumes

If you need to remove only orphaned volumes and keep volumes associated with stopped containers you can execute docker volume prune. But in my case it was important to keep more detailed information about which volumes are going to be deleted, so my approach was to save files with list of associated and orphaned volumes, based on which I made volume backups first.

About

Script to search and delete orphaned docker volumes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages