Automic VaultAutomic Vault

brew

使用 Homebrew, apt 安装 docker-clean

查看 docker-clean 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install docker-clean

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install docker-clean

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

概览

软件包摘要

Clean Docker containers, images, networks, and volumes

命令和别名

  • docker-clean

历史

项目历史与用法

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.

安全态势

风险级别:orange

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

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

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

信号

  • text:container
  • text:network,image

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
docker-cleancli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.0.4
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v2.0.4

https://github.com/ZZROTDesign/docker-clean

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:docker-clean
版本2.0.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/docker-clean
主页https://github.com/ZZROTDesign/docker-clean
仓库https://github.com/ZZROTDesign/docker-clean
上游文档https://github.com/ZZROTDesign/docker-clean#readme
许可证MIT
源码归档https://github.com/ZZROTDesign/docker-clean/archive/refs/tags/v2.0.4.tar.gz
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedocker-clean
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment