docker-clean
brew install docker-clean
v2.0.4
MIT
Clean Docker containers, images, networks, and volumes
22
30-day installs · #6501
57
90-day · #6969
318
365-day · #6171
1.3k
★ GitHub stars · updated 8y ago
GitHub topics
docker
docker-clean
golang
shell
Links
- https://github.com/ZZROTDesign/docker-clean
- GitHub: ZZROTDesign/docker-clean
- Brew formula source: Formula/d/docker-clean.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Clean Docker containers, images, networks, and volumes",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:37:02+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "docker-clean",
"github_default_branch": "master",
"github_last_commit_at": "2018-01-16T16:29:41Z",
"github_readme_excerpt": "[](https://travis-ci.org/ZZROTDesign/docker-clean)[](https://github.com/ZZROTDesign/docker-clean/releases)\n# Docker-Clean\n\n[](https://gitter.im/ZZROTDesign/docker-clean?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nA simple Shell script to clean up the Docker Daemon.\n\n## Requirements\n\nIn order to use the volume capabilities, it is required that the Docker Daemon is at least version 1.9+\n\n\n## Install\n\n curl -s https://raw.githubusercontent.com/ZZROTDesign/docker-clean/v2.0.4/docker-clean |\n sudo tee /usr/local/bin/docker-clean \u003e /dev/null \u0026\u0026 \\\n sudo chmod +x /usr/local/bin/docker-clean\n\n## Homebrew Install\n brew update\n brew install docker-clean\n\n**UPDATE:** Docker-clean v2.0.3+ will be available without using our tap. However we will keep both maintained.\n\n#### Upgrade (for new versions)\n\n brew update \u0026\u0026 brew upgrade docker-clean\n\nFor curl installs, re-running the script above will install the newest version.\n\n## Running from a docker container\n\n``` shell\ndocker run --rm -v /var/run/docker.sock:/var/run/docker.sock zzrot/docker-clean [optional flags below]\n```\n\n*Docker Image tags can be found on [Docker Hub](https://hub.docker.com/r/zzrot/docker-clean/tags/)*\nfor different docker-clean versions 2.0.4+ with various image sizes. \n\n\n## Usage\n\nFor a more in depth look at the usage and commands run without browsing the script itself check out our [USAGE.md](https://github.com/ZZROTDesign/docker-clean/blob/master/USAGE.md).\n\n docker-clean [optional flags below]\n\n Default without arguments deletes stopped containers, dangling volumes, and untagged images.\n\n stop Stops and removes all containers, cleans dangling volumes, and netwo",
"github_repo": "ZZROTDesign/docker-clean",
"github_stars": 1296,
"github_topics": [
"docker",
"docker-clean",
"golang",
"shell"
],
"homepage": "https://github.com/ZZROTDesign/docker-clean",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 22,
"installs_365d": 318,
"installs_90d": 57,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "docker-clean",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 6501,
"rank_365d": 6171,
"rank_90d": 6969,
"raw_hash": "b91b33f3f347a16c",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/d/docker-clean.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "2.0.4",
"versioned_formulae": [],
"why_use_this": null
}