wagoodman/dive
A tool for exploring each layer in a docker image
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
Ranks #260 of 2,502 repositories GStars tracks this week (top 10%).
No releases in the last 90 days; the most recent was 547 days ago, with 59 contributors on GitHub.
Peaked at #67 in the weekly ranking the week of Apr 12, its best in the past year.
Use Cases & Benefits
- Explores Docker image layers and their contents to analyze and optimize image size and efficiency.
- Provides detailed layer-by-layer file changes and estimates wasted space to help shrink Docker/OCI images effectively.
- Use for inspecting and understanding the composition of Docker images during development.
- Use for integrating image size and efficiency checks into CI pipelines to enforce optimization standards.
- Use for comparing file changes across layers to identify redundant or unnecessary files in container images.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
Watch-outs
- No commits in the last six months (last push Dec 2025).
General guidance from repository metadata, not legal advice. How we score
From the README
A tool for exploring a Docker image, layer contents, and discovering ways to shrink the size of your Docker/OCI image.
To analyze a Docker image simply run dive with an image tag/id/digest:
or if you want to build your image then jump straight into analyzing it:
Building on macOS (supporting only the Docker container engine):
Additionally you can run this in your CI pipeline to ensure you're keeping wasted space to a minimum (this skips the UI):
This is beta quality! Feel free to submit an issue if you want a new feature or find a bug :)
Show Docker image contents broken down by layer
As you select a layer on the left, you are shown the contents of that layer combined with all previous layers on the right. Also, you can fully explore the file tree with the arrow keys.
Indicate what's changed in each layer
Files that have changed, been modified, added, or removed are indicated in the file tree. This can be adjusted to show changes for a specific layer, or aggregated changes up to this layer.
The lower left pane shows basic layer info and an experimental metric that will guess how much wasted space your image contains. This might be from duplicating files across layers, moving files across layers, or not fully removing files. Both a percentage "score" and total wasted file space is provided.
You can build a Docker image and do an immediate analysis with one command:
dive build -t some-tag .You only need to replace your
docker buildcommand with the samedive buildcommand.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
2.0K+14
Open issues
216+8
Compared with peers in CLI
Fastest-growing repositories GStars tracks in this cohort for the week of Sep 27, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| stablyai/orca | 91.6K | +5.8K | 60 | 1 day ago |
| mvschwarz/openrig | 7.4K | +3.9K | 65 | 1 day ago |
| pablostanley/yoinks | 5.9K | +1.4K | 6 | — |
| HKUDS/CLI-Anything | 52.1K | +1.1K | 75 | 110 days ago |
| Nasiko-Labs/nasiko | 9.4K | +875 | 52 | 234 days ago |
| wagoodman/dive | 54.6K | +0 | 75 | 547 days ago |
| Category median | 9.4K | +1.4K | 60 | — |
Discover Repositories
Search across tracked repositories by name or description