pkg.soopen package index

brew / rank 6470

Install docker-clean with Homebrew, apt

Clean Docker containers, images, networks, and volumes. Version 2.0.4 via Homebrew; verified from local package data. Also installable with debian: sudo apt install docker-clean.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install docker-clean

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install docker-clean

Debian stable package indexes · docker-clean · source: deb.debian.org

overview

Package summary

Clean Docker containers, images, networks, and volumes

Commands and aliases

  • docker-clean

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: orange

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

Risk classifier

orange risk · medium confidence · infrastructure

Why

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

Signals

  • text:container
  • text:network,image

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
docker-cleanexecutableindexed executableDiscovered from the local executable index.

freshness

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

page generated2026-08-03
manager version2.0.4
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:docker-clean
Version2.0.4
Package managerHomebrew
Homepagehttps://github.com/ZZROTDesign/docker-clean
Repositoryhttps://github.com/ZZROTDesign/docker-clean
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

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-clean
  • Section: admin
  • Architecture: all
  • 2 dependencies
  • normalized package name match
  • Matched by: Docker Clean
Debian stable package indexes · deb.debian.org · Debian stable package indexes: docker-clean from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

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-clean
  • Section: universe/admin
  • Architecture: all
  • 2 dependencies
  • normalized package name match
  • Matched by: Docker Clean
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: docker-clean from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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