Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.21 KB

File metadata and controls

56 lines (37 loc) · 1.21 KB

Docker Cleaner

This is a terminal user interface application built with Go and Bubble Tea for cleaning up Docker images and containers.

Features

  • List all Docker images
  • List all Docker containers (running and stopped)
  • Select multiple images/containers for deletion
  • Delete selected images/containers

Prerequisites

  • Go (version 1.22 or higher)
  • Docker (running on your system)

Installation

  1. Clone the repository:
git clone https://github.com/minhajul/docker-cleaner.git
cd docker-cleaner

Usage

  1. Build the application: go build -o docker-cleaner
  2. Run the application: ./docker-cleaner
  3. Navigate the list using the up and down arrow keys or k and j
  4. Select/deselect items for cleanup by pressing the space bar
  5. Press d to delete all selected images and containers
  6. Press q or Ctrl+C to quit the application

Screenshot

Development

To run tests:

go test ./...

To run linter:

go vet ./...

Contributing

Feel free to open issues or pull requests if you have any suggestions or improvements. See CONTRIBUTING.md.

Made with ❤️ by [minhajul]