macOS
brew install docker-cleanlocal Homebrew formula metadata
brew
Clean Docker containers, images, networks, and volumes. Version 2.0.4 via Homebrew; verified from local package data.
install
brew install docker-cleanlocal Homebrew formula metadata
sudo apt install docker-cleanDebian stable package indexes · docker-clean · source: deb.debian.org
overview
Clean Docker containers, images, networks, and volumes
history
Docker Clean is a small shell utility for cleaning Docker daemon state: stopped containers, images, dangling volumes, and empty networks. Its README presents it as a simple script, installable by curl or Homebrew, with optional modes for stopping containers, removing tagged images, cleaning all resources, restarting Docker, and dry runs.
Docker Clean belongs to the earlier Docker ecosystem era when the Docker CLI had fewer built-in cleanup affordances and users commonly accumulated unused images, containers, volumes, and networks. The official README centers the project on wrapping common docker cleanup commands in one script.
The README documents Homebrew installation and notes that docker-clean v2.0.3 and newer became available without using the project's own tap. The batch input also lists Debian and Ubuntu package-manager entries, showing that the script escaped a single GitHub install path into distribution packages.
Running docker-clean with no arguments removes stopped containers, dangling volumes, empty networks, and untagged images. The USAGE.md file documents dry runs, host selection for remote Docker hosts, image cleanup, container cleanup, stop and all modes, and log output for users who want to inspect the underlying removals.
Docker Clean is historically interesting because it packages a one-file operational habit: reclaiming disk space from Docker's local daemon. Its niche shrank as Docker added and popularized native prune commands, but it remains a good example of package-manager culture wrapping repetitive CLI maintenance before the platform fully absorbs it.
security posture
broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
docker-clean | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/ZZROTDesign/docker-clean
install metadata
| Package key | brew:docker-clean |
|---|---|
| Version | 2.0.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/docker-clean |
| Homepage | https://github.com/ZZROTDesign/docker-clean |
| Repository | https://github.com/ZZROTDesign/docker-clean |
| Upstream docs | https://github.com/ZZROTDesign/docker-clean#readme |
| License | MIT |
| Source archive | https://github.com/ZZROTDesign/docker-clean/archive/refs/tags/v2.0.4.tar.gz |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | docker-clean |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
docker-clean 2.0.4-5
simple Shell script to clean up the Docker Daemon
https://github.com/ZZROTDesign/docker-clean/
sudo apt install docker-cleandocker-clean 2.0.4-5
simple Shell script to clean up the Docker Daemon
https://github.com/ZZROTDesign/docker-clean/
sudo apt install docker-cleansource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.