Analyzes Docker/OCI image layers and their contents.
Identifies wasted space and provides an image efficiency score.
Helps reduce image size and optimize Docker builds.
Pricing: Free forever
Best for: Individuals & startups
Pros & Cons
Pros
Provides a clear visual breakdown of Docker image layers
Helps identify and eliminate wasted space in Docker images
Can be integrated into CI/CD pipelines for automated checks
Supports various installation methods across different operating systems
Offers quick build and analysis cycles
Cons
The image efficiency metric is experimental (beta quality)
Snap installation method for Docker might conflict with apt-get Docker installations
Podman engine support is Linux only
Preview
Key Features
Show Docker image contents broken down by layerIndicate what's changed (added, modified, removed) in each layerEstimate "image efficiency" with a percentage score and total wasted file spaceQuick build/analysis cycles for immediate feedbackCI integration for automated pass/fail results based on image efficiencySupports multiple image sources and container engines (Docker, Podman, Docker Tar Archive)Interactive file tree exploration with arrow keys
Dive is a command-line tool designed to help developers analyze and optimize their Docker/OCI images. It provides a detailed breakdown of an image's layers, allowing users to visualize the contents of each layer and identify changes (additions, modifications, removals) between them. This granular view helps in understanding how an image is constructed and where inefficiencies, such as duplicated files or unnecessary content, might exist.
The tool is primarily for developers, DevOps engineers, and anyone working with Docker or OCI images who wants to reduce image size, improve build times, and enhance the overall efficiency of their containerized applications. By highlighting wasted space and providing an "image efficiency" score, Dive empowers users to make informed decisions about their Dockerfile instructions and build processes, leading to smaller, faster, and more secure images.
Dive supports various image sources and container engines, including Docker and Podman, and can be integrated into CI pipelines to automate image analysis and enforce size constraints. Its interactive TUI (Text User Interface) allows for easy navigation and exploration of the file system within each layer.
Dive is a command-line tool for exploring the contents of a Docker or OCI image layer by layer. It helps users understand how an image is constructed, identify changes between layers, and discover ways to reduce the image's size by highlighting wasted space.
How much does Dive cost?
Dive is an open-source tool and is completely free to use.
Is Dive free?
Yes, Dive is free. It is an open-source project released under the MIT license.
Who is Dive for?
Dive is for developers, DevOps engineers, and anyone who builds and manages Docker or OCI images. It's particularly useful for those looking to optimize image size, improve build performance, and ensure efficient containerization.