This is a terminal user interface application built with Go and Bubble Tea for cleaning up Docker images and containers.
- List all Docker images
- List all Docker containers (running and stopped)
- Select multiple images/containers for deletion
- Delete selected images/containers
- Go (version 1.22 or higher)
- Docker (running on your system)
- Clone the repository:
git clone https://github.com/minhajul/docker-cleaner.git
cd docker-cleaner- Build the application:
make build
- Run the application:
make run
- Navigate the list using the
upanddownarrow keys orkandj - Select/deselect items for cleanup by pressing the space bar
- Press
dto delete all selected images and containers - Press
qorCtrl+Cto quit the application
To run tests:
make testTo run linter:
make lintTo clean up:
make cleanFeel free to open issues or pull requests if you have any suggestions or improvements. See CONTRIBUTING.md.
