# docker-clean を Homebrew, apt でインストール

docker-clean のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:docker-clean
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.0.4
- **ソース概要:** Clean Docker containers, images, networks, and volumes
- **ホームページ:** <https://github.com/ZZROTDesign/docker-clean>
- **リポジトリ:** <https://github.com/ZZROTDesign/docker-clean>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- docker-clean (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.0.4
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 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.

### ソース

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


## セキュリティノート

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

- **Geiger リスク:** orange / 中
- broad file, network, media, or database tool signal
- infrastructure mutation or orchestration signal

## 他のパッケージマネージャ記録

- 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/


## 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)


## ソース

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