# 使用 Homebrew, apk, Nix 安装 docuum

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

## 安装

```sh
sudo av install brew:docuum
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install docuum
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add docuum
```

  证据: Alpine Linux edge package indexes: docuum from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#docuum
```

  证据: nixpkgs package indexes: pkgs/by-name/do/docuum/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:docuum
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/docuum>
- **版本:** 0.27.0
- **来源摘要:** Perform least recently used (LRU) eviction of Docker images
- **主页:** <https://github.com/stepchowfun/docuum>
- **仓库:** <https://github.com/stepchowfun/docuum>
- **许可证:** MIT
- **源码归档:** <https://github.com/stepchowfun/docuum/archive/refs/tags/v0.27.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- docuum (cli)
- docuum (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.27.0
- 本地数据: OK
- 上游仓库: https://github.com/stepchowfun/docuum
- 检测到的最新版本: v0.27.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

Docuum is a Rust command-line daemon for least-recently-used eviction of Docker images. Its purpose is narrow and operational: keep Docker image disk usage below a threshold without deleting images merely because they are old.

### 项目历史

The GitHub repository was created in January 2020. The README explains the motivation as a limitation of Docker's built-in `docker image prune --all --filter until=...`, which uses image creation time rather than last usage time.

### 采用历史

Docuum has specialist adoption among Docker-heavy environments. The official README says it is used by Netflix on production Kubernetes nodes and by Airbnb on a large CI worker fleet. It is also distributed via Homebrew, Cargo, release binaries, and a Docker container.

### 使用方式

Users run `docuum --threshold '10 GB'` manually or as a daemon under launchd, systemd, or NSSM. Docuum listens to `docker system events`, keeps local usage timestamp state, and evicts images when total Docker image disk usage exceeds the configured threshold.

### 为什么软件包爱好者会关心

Docuum is interesting because it packages one missing Docker operational primitive: LRU image cache behavior. It complements Docker's own prune command and BuildKit cache garbage collection rather than replacing either.

### 时间线

- 2020: GitHub repository created.
- 2020s: README documents LRU image eviction based on Docker events and local state.
- 2026: Homebrew packages stable release 0.27.0 and includes a launchd-style service definition.

### Related projects

- Docuum is related to Docker Engine, Docker Compose, BuildKit garbage collection, launchd, systemd, NSSM, and the author's Toast project, all of which are referenced in the README.

### 来源

- <https://github.com/stepchowfun/docuum>
- <https://raw.githubusercontent.com/stepchowfun/docuum/main/README.md>
- <https://api.github.com/repos/stepchowfun/docuum>
- <https://formulae.brew.sh/api/formula/docuum.json>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** docuum
- **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

## 其他软件包管理器记录

- Nix - docuum: normalized package name match | nixpkgs package indexes: pkgs/by-name/do/docuum/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - docuum - 0.26.0-r0: normalized package name match | Alpine Linux edge package indexes: docuum from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Perform least recently used (LRU) eviction of Docker images | https://github.com/stepchowfun/docuum
- apk - docuum-openrc - 0.26.0-r0: normalized package name match | Alpine Linux edge package indexes: docuum-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Perform least recently used (LRU) eviction of Docker images (OpenRC init scripts) | https://github.com/stepchowfun/docuum


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [ctop](https://pkg.so/zh-hans/brew/ctop/) - Shares pkgdb curated category or tags: cli, containers, docker, system.
- [distrobox](https://pkg.so/zh-hans/brew/distrobox/) - Shares pkgdb curated category or tags: cli, containers, docker, system.
- [podman](https://pkg.so/zh-hans/brew/podman/) - Shares pkgdb curated category or tags: cli, containers, system.
- [crun](https://pkg.so/zh-hans/brew/crun/) - Shares pkgdb curated category or tags: cli, containers, system.
- [conmon](https://pkg.so/zh-hans/brew/conmon/) - Shares pkgdb curated category or tags: cli, containers, system.
- [podman-compose](https://pkg.so/zh-hans/brew/podman-compose/) - Shares pkgdb curated category or tags: cli, containers, system.
- [podman-tui](https://pkg.so/zh-hans/brew/podman-tui/) - Shares pkgdb curated category or tags: cli, containers, system.
- [runme](https://pkg.so/zh-hans/brew/runme/) - Shares pkgdb curated category or tags: cli, containers, system.
- [is-docker](https://pkg.so/zh-hans/npm/is-docker/) - Local package facts share a topical domain. Shared terms: cli, containers, docker, system.
- [is-inside-container](https://pkg.so/zh-hans/npm/is-inside-container/) - Local package facts share a topical domain. Shared terms: cli, containers, docker, system.

## Combined YAML source

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


## 来源

- 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
