macOS
brew install divelocal Homebrew formula metadata
sudo port install diveMacPorts ports tree · devel/dive/Portfile · 来源: api.github.com
安装
brew install divelocal Homebrew formula metadata
sudo port install diveMacPorts ports tree · devel/dive/Portfile · 来源: api.github.com
sudo apk add diveAlpine Linux edge package indexes · dive · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#divenixpkgs package indexes · pkgs/by-name/di/dive/package.nix · 来源: api.github.com
sudo pacman -S diveArch Linux sync databases · dive · 来源: geo.mirror.pkgbuild.com
sudo zypper install diveopenSUSE Tumbleweed package metadata · dive · 来源: download.opensuse.org
scoop install main/diveScoop official bucket manifest trees · bucket/dive.json · 来源: api.github.com
winget install --id OpenAgentPlatform.Dive -eWindows Package Manager source index · OpenAgentPlatform.Dive · 来源: cdn.winget.microsoft.com
概览
Tool for exploring each layer in a docker image
历史
dive is a terminal UI for inspecting Docker and OCI image layers, file changes, and wasted space. Its sweet spot is the package-builder and container-maintainer workflow: after an image build, run `dive` to see which layer added what and whether a Dockerfile is leaving avoidable bytes behind.
The official GitHub repository was created in May 2018 by wagoodman and describes dive as a tool for exploring Docker image contents, layer changes, and ways to shrink Docker or OCI images. The README pairs the interactive layer browser with a CI mode that bypasses the UI and returns pass/fail results from image-efficiency rules.
The release train shows the project moving from Docker-centered inspection toward broader container-engine support. Official release metadata records v0.9.0 in November 2019 with initial Podman support, and later releases continued through the 2020s.
dive became widely packaged because it solves a common container-image problem without requiring a registry service or heavyweight scanner. The official README lists installation paths through Homebrew, MacPorts, Arch, Nix, Scoop, winget, Chocolatey, Docker images, and direct release packages, which matches its role as a small cross-platform CLI/TUI utility.
Users typically run `dive image:tag`, `dive build -t tag .`, or a containerized `dive` invocation mounted to the Docker socket. In CI, setting `CI=true` lets teams enforce thresholds from a `.dive-ci` file for image efficiency and wasted bytes.
For package nerds, dive is notable because it turns opaque container layers back into a browsable filesystem history. It sits near Dockerfile linters, image scanners, and build-cache tools, but its adoption comes from being easy to install locally and immediately useful when a package or image grows unexpectedly.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$XDG_CONFIG_HOME/dive/*.yaml$XDG_CONFIG_DIRS/dive/*.yaml~/.config/dive/*.yaml~/.dive.yaml.dive-ci可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dive | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/wagoodman/dive
安装元数据
| 软件包键 | brew:dive |
|---|---|
| 版本 | 0.13.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/dive |
| 主页 | https://github.com/wagoodman/dive |
| 仓库 | https://github.com/wagoodman/dive |
| 上游文档 | https://github.com/wagoodman/dive#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/wagoodman/dive/archive/refs/tags/v0.13.1.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dive |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
dive
nix profile install nixpkgs#divedive 0.13.1-r6
Tool for exploring each layer in a docker image
https://github.com/wagoodman/dive
sudo apk add divedive 0.13.1-1
A tool for exploring layers in a docker image
https://github.com/wagoodman/dive
sudo pacman -S divedive 0.13.1-1.4
Tool for exploring each layer in a docker image
https://github.com/wagoodman/dive
sudo zypper install divedive
sudo port install divemain/dive
scoop install main/diveOpenAgentPlatform.Dive
winget install --id OpenAgentPlatform.Dive -ewagoodman.dive
winget install --id wagoodman.dive -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.