wagoodman

    wagoodman/dive

    #260 this week

    A tool for exploring each layer in a docker image

    cli
    devops
    docker
    docker-image
    explorer
    inspector
    tui
    Go
    MIT
    54.6K stars
    2.0K forks
    54.6K GitHub watchers
    Updated Oct 12, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #260 of 2,502 repositories GStars tracks this week (top 10%).

    No releases in the last 90 days; the most recent was 547 days ago, with 59 contributors on GitHub.

    Peaked at #67 in the weekly ranking the week of Apr 12, its best in the past year.

    Use Cases & Benefits

    • Explores Docker image layers and their contents to analyze and optimize image size and efficiency.
    • Provides detailed layer-by-layer file changes and estimates wasted space to help shrink Docker/OCI images effectively.
    • Use for inspecting and understanding the composition of Docker images during development.
    • Use for integrating image size and efficiency checks into CI pipelines to enforce optimization standards.
    • Use for comparing file changes across layers to identify redundant or unnecessary files in container images.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present

    Watch-outs

    • No commits in the last six months (last push Dec 2025).

    General guidance from repository metadata, not legal advice. How we score

    From the README

    A tool for exploring a Docker image, layer contents, and discovering ways to shrink the size of your Docker/OCI image.

    To analyze a Docker image simply run dive with an image tag/id/digest:

    or if you want to build your image then jump straight into analyzing it:

    Building on macOS (supporting only the Docker container engine):

    Additionally you can run this in your CI pipeline to ensure you're keeping wasted space to a minimum (this skips the UI):

    This is beta quality! Feel free to submit an issue if you want a new feature or find a bug :)

    Show Docker image contents broken down by layer

    As you select a layer on the left, you are shown the contents of that layer combined with all previous layers on the right. Also, you can fully explore the file tree with the arrow keys.

    Indicate what's changed in each layer

    Files that have changed, been modified, added, or removed are indicated in the file tree. This can be adjusted to show changes for a specific layer, or aggregated changes up to this layer.

    The lower left pane shows basic layer info and an experimental metric that will guess how much wasted space your image contains. This might be from duplicating files across layers, moving files across layers, or not fully removing files. Both a percentage "score" and total wasted file space is provided.

    You can build a Docker image and do an immediate analysis with one command: dive build -t some-tag .

    You only need to replace your docker build command with the same dive build command.

    Excerpt from the wagoodman/dive README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    2.0K+14

    Open issues

    216+8

    Compared with peers in CLI

    Fastest-growing repositories GStars tracks in this cohort for the week of Sep 27, by 7-day star growth

    wagoodman/dive compared with CLI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    stablyai/orca91.6K+5.8K601 day ago
    mvschwarz/openrig7.4K+3.9K651 day ago
    pablostanley/yoinks5.9K+1.4K6—
    HKUDS/CLI-Anything52.1K+1.1K75110 days ago
    Nasiko-Labs/nasiko9.4K+87552234 days ago
    wagoodman/dive54.6K+075547 days ago
    Category median9.4K+1.4K60—

    Discover Repositories

    Search across tracked repositories by name or description