# wagoodman/dive

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/wagoodman-dive).**

54,242 stars · 1,981 forks · Go · MIT

## Links

- GitHub: https://github.com/wagoodman/dive
- awesome-repositories: https://awesome-repositories.com/repository/wagoodman-dive.md

## Topics

`cli` `docker` `docker-image` `explorer` `inspector` `tui`

## Description

Dive is a command-line tool designed for the analysis and optimization of container images. It functions as a layered storage inspector, allowing users to decompose image manifests to examine individual filesystem layers and identify opportunities to reduce total image size.

The tool features a filesystem diffing engine that calculates net changes between sequential layers to highlight redundant data and storage inefficiencies. Users interact with this data through a terminal-based dashboard that provides keyboard-driven navigation of complex file structures and layer metadata. By abstracting the underlying container runtime, the tool maintains compatibility across various storage formats and engine environments.

Beyond manual inspection, the software supports automated quality gates for continuous integration pipelines. It evaluates image metadata against user-defined performance thresholds to validate efficiency and prevent the deployment of suboptimal builds. Configuration files allow for the adjustment of logging levels, interface layouts, and engine preferences to suit specific development workflows.

## Tags

### DevOps & Infrastructure

- [Container Image Optimizers](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/image-management-tools/container-image-optimizers.md) — Identifies redundant files and unnecessary layer overhead to minimize the total footprint of container images.
- [Image Analyzers](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/image-management-tools/image-analyzers.md) — Explores internal image contents to pinpoint specific opportunities for reducing size and improving build efficiency.
- [Image Layer Analyzers](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/image-management-tools/image-layer-analyzers.md) — Decomposes image manifests to isolate and inspect individual filesystem layers for granular technical review.
- [Filesystem Diffing Engines](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/image-management-tools/filesystem-diffing-engines.md) — Calculates the net change in file state between sequential layers to expose redundant data and storage inefficiencies.
- [Container Efficiency Validators](https://awesome-repositories.com/f/devops-infrastructure/cicd-pipeline-automation/cicd-pipeline-management/continuous-integration-tools/container-efficiency-validators.md) — Automates the comparison of image metrics against predefined performance thresholds within continuous integration pipelines. ([source](https://github.com/wagoodman/dive#readme))
- [Continuous Integration Quality Gates](https://awesome-repositories.com/f/devops-infrastructure/cicd-pipeline-automation/cicd-pipeline-management/continuous-integration-tools/continuous-integration-quality-gates.md) — Enforces performance standards by validating image metrics before allowing promotion to production environments.
- [Container Image Analyzers](https://awesome-repositories.com/f/devops-infrastructure/containerization/image-inspection/container-image-analyzers.md) — Examines the internal layer structure to reveal which specific build steps contribute most to final image size.
- [Container Debugging Utilities](https://awesome-repositories.com/f/devops-infrastructure/containerization/image-inspection/container-debugging-utilities.md) — Investigates image contents to troubleshoot filesystem issues and verify that build artifacts are correctly positioned.
- [Container Runtime Adapters](https://awesome-repositories.com/f/devops-infrastructure/containerization/runtime-deployment/container-runtime-adapters.md) — Interfaces with multiple container engines to retrieve image metadata regardless of the underlying storage format.
- [Quality Gates](https://awesome-repositories.com/f/devops-infrastructure/continuous-integration/quality-gates.md) — Validates image efficiency during automated builds to prevent the deployment of bloated or suboptimal container artifacts.

### Operating Systems & Systems Programming

- [Container Image Explorers](https://awesome-repositories.com/f/operating-systems-systems-programming/terminal-command-line-environments/terminal-interface-systems/terminal-interfaces/container-image-explorers.md) — Navigates internal file systems and metadata layers through an interactive, terminal-based interface.

### Part of an Awesome List

- [Container Management](https://awesome-repositories.com/f/awesome-lists/devops/container-management.md) — Explore Docker image layers.
- [Container Management Tools](https://awesome-repositories.com/f/awesome-lists/devops/container-management-tools.md) — Tool for exploring and analyzing container image layers.
- [Image Build and Analysis](https://awesome-repositories.com/f/awesome-lists/devtools/image-build-and-analysis.md) — Explores and analyzes container image layers.
- [Terminal Interfaces](https://awesome-repositories.com/f/awesome-lists/devtools/terminal-interfaces.md) — Tool for exploring image layer contents.
- [Version Control](https://awesome-repositories.com/f/awesome-lists/devtools/version-control.md) — Explores Docker image layers.
