dive

A tool for exploring each layer in a docker image

22 articles 53.5k View on GitHub ↗
22 articles
How Dive's File Tree Sorting Works: A Deep Dive into the Implementation

Discover how Dive sorts its file tree. Learn about alphabetical and size-descending ordering strategies and their implementation for efficient Docker image analysis.

deep-dive
Mar 7, 2026
Where to Find the Source Code for Dive's Docker Image Resolver

Discover where Dive's Docker image resolver source code resides. Find the core Resolver interface and Docker Engine implementations in the wagoodman/dive repository.

how-to-guide
Mar 7, 2026
How Dive Handles Docker and Podman Container Runtimes

Discover how Dive seamlessly supports Docker and Podman container runtimes. Learn about its abstraction layer and automatic selection for efficient image analysis.

internals
Mar 7, 2026
Understanding the Command Field in a Dive Layer: Debugging and Source Tracing

Understand the Command field in a Dive layer. Trace Dockerfile instructions for each image layer to debug and optimize your builds with Dive.

deep-dive
Mar 7, 2026
How Dive Identifies Layers That Contribute Most to Image Size

Discover how Dive identifies image layers that contribute most to size. Learn about byte counts, cumulative analysis, and size ranking for efficient Docker image optimization.

internals
Mar 7, 2026
Performance Considerations When Using Dive: Optimizing Docker Image Analysis

Discover performance tips for Dive, the Docker image analyzer. Learn how to optimize memory and CPU usage when inspecting large Docker images to speed up your workflow.

performance
Mar 7, 2026
Dive Tool Usage Patterns and Examples: A Complete Guide

Explore common Dive tool usage patterns and examples for Docker image inspection, CI enforcement, and programmatic analysis. Streamline your workflow with this comprehensive guide.

how-to-guide
Mar 7, 2026
Dive Configuration Options: Complete Guide to CLI Flags, Environment Variables, and YAML Settings

Explore Dive configuration options via CLI flags, environment variables, and YAML files. Customize your image analysis, CI, export, and UI settings for efficient container image inspection.

api-reference
Mar 7, 2026
How to Integrate Dive into CI/CD Pipelines for Automated Image Analysis

Integrate Dive into your CI/CD pipelines for automated Docker image analysis. Enforce efficiency policies and fail builds on violations with non-interactive mode and threshold configuration.

how-to-guide
Mar 7, 2026
What Are the Main Command-Line Entry Points for Dive?

Discover the main command-line entry points for Dive: analyze images with `dive <image>`, build and analyze with `dive build`, or manage settings with utility commands.

how-to-guide
Mar 7, 2026
How Dive Presents Image Analysis Results Using a TUI

Explore how Dive presents image analysis results using a TUI. Dive's event-driven TUI renders interactive, color coded panes for layers file trees and efficiency metrics for efficient container image analysis.

internals
Mar 7, 2026
How Dive Calculates Image Efficiency Metrics and Wasted Space

Discover how Dive calculates image efficiency and wasted space by comparing layer sizes and identifying duplicate files. Optimize your Docker images effectively.

how-to-guide
Mar 7, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →