# 使用 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
- **版本:** 0.27.0
- **来源摘要:** Perform least recently used (LRU) eviction of Docker images
- **主页:** <https://github.com/stepchowfun/docuum>
- **仓库:** <https://github.com/stepchowfun/docuum>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- docuum (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.27.0
## 项目历史与用法

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
