Interactive CLI to bulk stop & delete Docker containers and images.
klir [global options] <command> [command options]-h,--helpShow help-v,--versionPrint version
Interactively stop running containers.
klir stop [OPTIONS]Options:
-v,--verboseShow debug logs
Interactively remove inactive containers.
klir rm [OPTIONS]Options:
-f,--forceAllow removal of running containers-v,--verboseShow debug logs
Interactively remove orphaned images.
klir rmi [OPTIONS]Options:
-f,--forceAllow removal of active images with stopped containers-v,--verboseShow debug logs
- Visit the Releases page.
- Download the appropriate binary from the Assets section.
- Run the binary directly.
./klir
# Optional: make it available system-wide
sudo cp ./klir /usr/local/bin.\klir.exeNote: To run
klir.exesystem-wide on Windows, add its location to the Environment Variables.
git clone https://github.com/melsonic/klir.git
cd klir
go build -o klir main.go docker_client.go
./klir
