dive
brew install dive
v0.13.1
MIT
Tool for exploring each layer in a docker image
641
30-day installs · #1585
2.3k
90-day · #1507
13.1k
365-day · #1289
54.2k
★ GitHub stars · updated 8mo ago
Build dependencies
GitHub topics
cli
docker
docker-image
explorer
inspector
tui
Links
- https://github.com/wagoodman/dive
- GitHub: wagoodman/dive
- Brew formula source: Formula/d/dive.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"go"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Tool for exploring each layer in a docker image",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:59+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "dive",
"github_default_branch": "main",
"github_last_commit_at": "2025-12-15T17:20:36Z",
"github_readme_excerpt": "# dive\n[](https://github.com/wagoodman/dive/releases/latest)\n[](https://github.com/wagoodman/dive/actions/workflows/validations.yaml)\n[](https://goreportcard.com/report/github.com/wagoodman/dive)\n[](https://github.com/wagoodman/dive/blob/main/LICENSE)\n[](https://www.paypal.me/wagoodman)\n\n**A tool for exploring a Docker image, layer contents, and discovering ways to shrink the size of your Docker/OCI image.**\n\n\n\n\nTo analyze a Docker image simply run dive with an image tag/id/digest:\n```bash\ndive \u003cyour-image-tag\u003e\n```\n\nor you can dive with Docker directly:\n```\nalias dive=\"docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock docker.io/wagoodman/dive\"\ndive \u003cyour-image-tag\u003e\n\n# for example\ndive nginx:latest\n```\n\nor if you want to build your image then jump straight into analyzing it:\n```bash\ndive build -t \u003csome-tag\u003e .\n```\n\nBuilding on macOS (supporting only the Docker container engine):\n\n```bash\ndocker run --rm -it \\\n -v /var/run/docker.sock:/var/run/docker.sock \\\n -v \"$(pwd)\":\"$(pwd)\" \\\n -w \"$(pwd)\" \\\n -v \"$HOME/.dive.yaml\":\"$HOME/.dive.yaml\" \\\n docker.io/wagoodman/dive:latest build -t \u003csome-tag\u003e .\n```\n\nAdditionally you can run this in your CI pipeline to ensure you\u0027re keeping wasted space to a minimum (this skips the UI):\n```\nCI=true dive \u003cyour-image\u003e\n```\n\n\n\n**This is beta quality!** *Feel free to submit an issue if you want a new feature or find a bug :)*\n\n## Basic Features\n\n**Show Docker image contents broken down by layer**\n\nAs you select a layer on the left, you are shown the contents of that lay",
"github_repo": "wagoodman/dive",
"github_stars": 54244,
"github_topics": [
"cli",
"docker",
"docker-image",
"explorer",
"inspector",
"tui"
],
"homepage": "https://github.com/wagoodman/dive",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 641,
"installs_365d": 13127,
"installs_90d": 2298,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "dive",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 1585,
"rank_365d": 1289,
"rank_90d": 1507,
"raw_hash": "64eeed8744773a56",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/d/dive.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.13.1",
"versioned_formulae": [],
"why_use_this": null
}