# ZZROTDesign/docker-clean

A script that cleans docker containers, images, volumes, and networks.

Repository: https://github.com/ZZROTDesign/docker-clean
Canonical: https://ross.abutalabs.com/products/docker-clean
Language: Shell
License: MIT
License Family: permissive
Topics: docker, docker-clean, golang, shell
Last push: 2018-01-16T16:29:41+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3846, "days_push": 3151, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1295, forks 89 (observed 2026-08-28T04:04:16.448097+00:00)

## What it is
A Shell script CLI that cleans up Docker resources including stopped containers, dangling/untagged images, volumes, and networks. It supports granular flags, dry-run mode, and can run from a Docker container itself.

## Use cases
- clean up dangling docker images and free disk space
- remove all stopped docker containers
- delete unused docker volumes and networks
- reset a local docker environment before testing
- clean docker on a swarm node via host flag

## When to choose
- you want a simple, lightweight script to reclaim disk space used by Docker
- you need fine-grained cleanup control with dry-run support
- you want to run cleanup inside a container without installing anything on the host

## When to avoid
- you need actively maintained tooling - the last release was in 2018
- you prefer built-in commands like `docker system prune`
- you need cleanup orchestration across many hosts or clusters

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: developer-tools, cli, container-runtime
- domain: developer-tools
- platform: cli
- tags: docker-cleanup, shell-script, disk-space, docker-images, docker-volumes, devops, containers, command-line, linux, macos, docker

## Member repositories
- ZZROTDesign/docker-clean (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:16.448097+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:54:00.089944+00:00, confidence not recorded.
  - readme: https://github.com/ZZROTDesign/docker-clean (fetched 2026-08-28T04:04:16.448097+00:00, sha d17b923813b5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
