Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Containers
  3. dive

dive

MITGov0.13.1

A terminal UI tool for exploring Docker image layers, analyzing contents, and identifying wasted space to shrink image size.

GitHubGitHub
54.2k stars2.0k forks0 contributors

What is dive?

Dive is a terminal-based tool for exploring and analyzing Docker and OCI container images. It visualizes each layer of an image, shows file changes between layers, and calculates wasted space to help developers optimize image size. It solves the problem of understanding what contributes to bloated container images and provides actionable insights for reduction.

Target Audience

Developers, DevOps engineers, and platform teams who build, maintain, or optimize Docker/OCI images and want to improve container efficiency and performance.

Value Proposition

Dive offers a unique, interactive terminal UI for deep image inspection that goes beyond basic Docker commands. Its efficiency scoring and CI integration provide both immediate insights and automated enforcement, making it a practical tool for container optimization workflows.

Overview

A tool for exploring each layer in a docker image

Use Cases

Best For

  • Debugging why a Docker image is larger than expected
  • Optimizing Dockerfile instructions to reduce layer size
  • Enforcing image size limits in CI/CD pipelines
  • Understanding the contents and structure of third-party container images
  • Learning how each Dockerfile command affects the final image
  • Comparing image layers before and after changes

Not Ideal For

  • Teams preferring graphical user interfaces over terminal-based tools for container inspection
  • Environments relying on non-Docker/OCI container runtimes like rkt or LXD
  • Production systems requiring guaranteed tool stability, as Dive is labeled beta quality
  • Users needing deep Kubernetes integration for image analysis within orchestration platforms

Pros & Cons

Pros

Interactive Layer Exploration

Provides a terminal UI to navigate each image layer and view cumulative file changes, making it easy to understand Dockerfile impact without manual commands.

Efficiency Scoring

Calculates wasted space and an efficiency percentage per image, offering actionable metrics to optimize size, as highlighted in the README's demo.

CI/CD Integration

Supports automated analysis in pipelines with configurable rules (e.g., lowestEfficiency) to fail builds based on image bloat, shown in the CI example.

Build and Analyze Workflow

Combines docker build and analysis into one command (dive build), streamlining optimization cycles directly from the README instructions.

Cons

Beta Quality Risks

The README explicitly labels it as 'beta quality', meaning potential bugs, instability, or breaking changes that aren't suitable for critical environments.

Installation Complexities

Snap installation can break existing Docker daemons, and containerized use requires mounting the Docker socket, adding setup overhead.

Limited Runtime Support

Only supports Docker, Docker archives, and Podman; lacks native integration with newer or alternative container technologies, restricting flexibility.

Frequently Asked Questions

Quick Stats

Stars54,214
Forks1,990
Contributors0
Open Issues169
Last commit5 months ago
CreatedSince 2018

Tags

#inspector#devops#explorer#oci#image-optimization#cli-tool#tui#ci-cd#docker#container-analysis#terminal-ui#cli#go#docker-image

Built With

G
Go

Included in

Go169.1kDocker35.8kRobotic Tooling3.8kContainers2.0k
Auto-fetched 21 hours ago

Related Projects

fzffzf

:cherry_blossom: A command-line fuzzy finder

Stars80,921
Forks2,804
Last commit1 day ago
lazygitlazygit

simple terminal UI for git commands

Stars79,078
Forks2,861
Last commit1 day ago
lazydockerlazydocker

The lazier way to manage everything docker

Stars51,278
Forks1,619
Last commit1 month ago
learnGitBranchinglearnGitBranching

An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git!

Stars33,577
Forks5,984
Last commit16 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub