mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-06-05 22:51:52 -04:00
This commit introduces several improvements to the Docker cleanup script: - Adds a verbose mode to print detailed messages during the cleanup process. - Implements a dry run mode to simulate the cleanup without actually removing any resources. - Improves the container, image, volume, and network cleanup functions to better handle the cleanup process and provide more informative output. - Adds a summary of the cleanup results at the end of the script. - Includes a help message to explain the available options. - Refactors the script to improve readability and maintainability. The main goal of these changes is to provide a more user-friendly and robust Docker cleanup solution.
Why?
This is a handy script to clean up a docker instance.
Blog post
How to use?
bash -c "$(wget -qLO - https://raw.githubusercontent.com/bigbeartechworld/big-bear-scripts/master/docker-cleanup/run.sh)"