Skip to main content

An interactive CLI tool to clean up Docker junk safely and beautifully

Project description

🧼 Docker Cleaner

Docker Cleaner is an interactive CLI tool to safely and easily clean up unused Docker resources, built with ❤️ by CTDevelopers Solutions.

✨ Features

  • Interactive terminal UI — no flags to memorize!
  • Standard Cleanup:
    • Stopped containers
    • Dangling images
    • Unused volumes
    • Unused networks
    • Build cache
  • Advanced Cleanup:
    • Remove all containers or images
    • Select specific containers or images to delete
    • Select containers/images to keep (all others will be deleted)
  • Dry-run mode to preview what would be deleted
  • Age filtering: remove containers/images older than X hours
  • Disk usage summary and reclaimable space preview
  • 💣 Full Nuke mode with double confirmation
  • Keyboard shortcuts: <space>, a, i, for full control

📦 Installation

From PyPI

pip install ct-docker-cleaner

Usage

ct-docker-clean
  • Then use the arrow keys + spacebar to select what you want to clean.

🛡️ Safety First

  • Nothing is deleted without confirmation.

  • Dry-run mode lets you preview before taking action.

  • Build cache cleaning includes a warning.

📄 License

This project is licensed under the MIT License. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ct_docker_cleaner-1.0.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ct_docker_cleaner-1.0.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file ct_docker_cleaner-1.0.0.tar.gz.

File metadata

  • Download URL: ct_docker_cleaner-1.0.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for ct_docker_cleaner-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f8b1cb10e53c6f5e8dc29de06f12a54e93b80f54d5ab1d188a065f00c42f5aff
MD5 1627f6a8684eb4d951065850446f3c50
BLAKE2b-256 a2a483d73d7e6cfbb921bcf27e1e368690c79135d034885995aa24a5da3b4735

See more details on using hashes here.

File details

Details for the file ct_docker_cleaner-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ct_docker_cleaner-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f8549dccaeb5a709cb7a8b9ddf20786dbfa3a7a476407add42eeede98c1ff17
MD5 aa7181380544b5fd63e6e3bb7342ff38
BLAKE2b-256 51815d889142fee3e698bdde0eed9a01a9e7fb8fdcd57046646d40393ebdcaca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page