qmetrics.net

Dive

Terminal explorer for Docker image layers

Dive inspects container images layer by layer to show what changed and where space is wasted. It helps shrink Docker or OCI images during development and CI.

Overview

Dive is a terminal user interface for exploring Docker and OCI images. You point it at a tag, digest, or archive and navigate each layer to see which files were added, modified, or removed compared with earlier layers.

Selecting a layer on the left reveals the cumulative filesystem on the right, with keyboard navigation through the tree. Filters highlight differences for one layer or aggregate changes up to the current layer, and you can extract files from the view.

An efficiency readout estimates duplicated or poorly removed content across layers, expressing both a percentage score and wasted bytes. That metric supports CI jobs when the environment variable for continuous integration bypasses the UI and returns pass or fail against thresholds in a repo config file.

Image data can be loaded from many backends—local Docker or Podman engines, saved tarballs, OCI layouts, registries, and containerd—so the same analyzer works outside a single runtime. A build subcommand can replace docker build to analyze immediately after image creation.

Key features

  • Per-layer and aggregated file change views
  • Image efficiency and wasted-space estimate
  • CI mode with configurable fail thresholds
  • docker build wrapper for instant analysis
  • Multiple engine and archive source options
  • JSON export without launching the UI
  • Platform selection for multi-arch images
  • Configurable keybindings and YAML settings

Use cases

  • Finding duplicate files across image layers
  • Gating CI on image efficiency scores
  • Comparing Podman or Docker local images
  • Auditing third-party base image contents

Tags

Similar software

Nx

Monorepo build system with caching and CI integration

Nx manages TypeScript and polyglot monorepos with task graph awareness, local and remote caching, and CI helpers. It can be added to existing npm, pnpm, or yarn workspaces.

★ 29.5k⟳ todayMIT

PostCSS

JavaScript toolkit for transforming CSS via plugins

Parses CSS into an AST and runs JavaScript plugins to lint, prefix, nest rules, inline assets, and apply other style transforms in build pipelines.

★ 29k⟳ yesterdayMIT

Emscripten

LLVM toolchain compiling C and C++ to WebAssembly

Emscripten turns C and C++ into WebAssembly via LLVM and Binaryen. Output runs in browsers, Node.js, and other WebAssembly runtimes.

★ 27.8k⟳ 2 days agoMIT · open core

Oxc

Rust-based JavaScript and TypeScript compiler toolkit

Oxc bundles a parser, linter, formatter, transformer, resolver, and minifier for JavaScript and TypeScript. Oxlint and Oxfmt run via npx for everyday lint and format tasks.

★ 23.6k⟳ todayMIT

Slim

Container inspection, minification and security profiling CLI

SlimToolkit is a command-line toolkit for inspecting, shrinking and hardening container images without rewriting your Dockerfile. It analyzes what your application actually needs and strips unused layers and files.

★ 23.6k⟳ 2 months agoApache-2.0

SVGO

Node.js SVG optimizer library and command-line tool

SVGO shrinks SVG files by stripping editor metadata, comments, hidden elements, and other data that does not affect rendering. It runs as an npm package API or a CLI.

★ 22.8k⟳ 20 days agoMIT