# docker-clean mit Homebrew, apt installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für docker-clean in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:docker-clean
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install docker-clean
```

  Evidenz: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install docker-clean
```

  Evidenz: Debian stable package indexes: docker-clean from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Paketfakten

- **Paketschlüssel:** brew:docker-clean
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/docker-clean>
- **Version:** 2.0.4
- **Quellzusammenfassung:** Clean Docker containers, images, networks, and volumes
- **Homepage:** <https://github.com/ZZROTDesign/docker-clean>
- **Repository:** <https://github.com/ZZROTDesign/docker-clean>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/ZZROTDesign/docker-clean/archive/refs/tags/v2.0.4.tar.gz>
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- docker-clean (cli)
- docker-clean (Alias)

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf all

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 2.0.4
- lokale Daten: OK
- Upstream-Repository: https://github.com/ZZROTDesign/docker-clean
- neueste erkannte Version: v2.0.4 (aktuell)
- Info: No package-manager update timestamp was available.
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 2016: README badges and install examples point to the v2.0.4-era project release line.
- 2016: v2.0.3 and newer are documented as available through Homebrew without the project's tap.
- 2026: The batch input lists Homebrew, Debian, and Ubuntu distribution.

### Related projects

- Docker Clean is adjacent to docker system prune, docker image prune, docker container prune, Docker Machine-era maintenance workflows, and other shell scripts for local Docker daemon housekeeping.

### Quellen

- <https://github.com/ZZROTDesign/docker-clean#readme>
- <https://github.com/ZZROTDesign/docker-clean/blob/master/USAGE.md>
- <https://formulae.brew.sh/formula/docker-clean>


## Sicherheitshinweise

broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.

- **Geiger-Risiko:** orange / mittel
- broad file, network, media, or database tool signal
- infrastructure mutation or orchestration signal

## Details aus der Quelldatenbank

- **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:** stable

## Andere Paketmanager-Einträge

- Debian apt - docker-clean - 2.0.4-5: normalized package name match | Debian stable package indexes: docker-clean from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | simple Shell script to clean up the Docker Daemon | https://github.com/ZZROTDesign/docker-clean/
- Ubuntu apt - docker-clean - 2.0.4-5: normalized package name match | Ubuntu 24.04 LTS package indexes: docker-clean from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | simple Shell script to clean up the Docker Daemon | https://github.com/ZZROTDesign/docker-clean/


## Verwandte Links

- [Cloud CLI packages](https://pkg.so/de/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/de/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [docker](https://pkg.so/de/brew/docker/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-compose](https://pkg.so/de/brew/docker-compose/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-buildx](https://pkg.so/de/brew/docker-buildx/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [lazydocker](https://pkg.so/de/brew/lazydocker/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-credential-helper-ecr](https://pkg.so/de/brew/docker-credential-helper-ecr/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-credential-helper](https://pkg.so/de/brew/docker-credential-helper/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-machine](https://pkg.so/de/brew/docker-machine/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [devcontainer](https://pkg.so/de/brew/devcontainer/) - Shares pkgdb curated category or tags: cli, containers, developer-tools, docker.
- [docker-debug](https://pkg.so/de/brew/docker-debug/) - Package names and metadata indicate a similar tool family. Shared terms: cli, containers, developer, developer-tools, docker.

## Combined YAML source

View the package source record on GitHub. [combined/docker-clean.yml](https://github.com/mxcl/pkgdb/blob/main/combined/docker-clean.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
