
Dive
Explore layers in a Docker image
The Lens
Discord.js is the most popular Node.js library for building Discord bots, wrapping Discord's API into an object-oriented interface with full TypeScript support. It's a terminal UI that lets you browse every file in every layer of a Docker image, see what was added/modified/removed, and spot wasted space.
MIT license, written in Go. Run `dive your-image:tag` and get an interactive view: layers on the left, filesystem on the right. It highlights files that exist in one layer but get deleted in a later one (wasted space). Shows you the efficiency score of your image. Works in CI too. Set a threshold and fail the build if the image is too bloated.
Fully free. Single binary, no paid tier, no service component. Every developer who builds Docker images should have this installed. The insight is immediate. You'll find multi-megabyte temp files, package manager caches, and build artifacts sitting in intermediate layers that you thought your `RUN rm` cleaned up (it didn't; each layer is immutable).
The catch: Dive shows you the problem but doesn't fix it. You still need to restructure your Dockerfile: multi-stage builds, combined RUN commands.dockerignore. And the TUI can be slow on very large images (5GB+). But for diagnosing bloat, nothing else comes close.
Free vs Self-Hosted vs Paid
fully freeFully open source under MIT. Single binary, no service, no paid tier. Free at any scale. Use it in CI pipelines for automated image efficiency checks.
Free. A CLI tool. Nothing to pay for.
Similar Tools
About
- Stars
- 53,706
- Forks
- 1,975
Explore Further
More tools in the directory
Get tools like this delivered weekly
The Open Source Drop — the best new open source tools, analyzed. Free.


