This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # Description: Sometimes after building, starting and killing a number of | |
| # docker containers over time, you end up with images that cannot be removed | |
| # removed because zombie containers are referencing them. This removes all | |
| # images of a given name or untagged images and the container that | |
| # reference them. | |
| # | |
| # Disclaimer: This is recommended for development environments only. | |
| # Frivolous usage may result in unintended data loss. | |
| # |
OlderNewer