Dive

Tool for exploring Docker layers.

Visit website ↗

Profile updated

Console’s review

· Reviewed by David Mytton

What we like

Ever got stuck with constructing a mental representation of what’s happening with COPY in your Dockerfile? Terminal interface allows exploration of each image layer. Diff changes by layer. Integrate into CI to provide efficiency stats for image builds. Configurable UI with keybindings. Single binary.

Tradeoffs

Can’t distinguish between different architectures when examining a multi-arch image. Would be useful to be able to hide base image layers.

Is Dive a fit?

Based on Console’s review published on 2023-10-19. Summary updated .

Who it’s for

Developers struggling with understanding Dockerfile COPY instructions

Why consider it

It allows exploration of each image layer through a terminal interface

Keep in mind

It can't distinguish between different architectures in multi-arch images

Console is a free weekly newsletter with short reviews of developer tools, covering strengths and tradeoffs. This review reflects Console’s assessment at publication on 2023-10-19. Features and limitations may have changed since the review date. Read our selection criteria and learn about Console.

Tech stack

Runs on
  • Linux
  • Windows
  • macOS
Integrates with
  • Docker
  • Podman
Written in
  • Go

Checked

Source and notes

implementation: go. Source: https://github.com/wagoodman/dive. Quote: go build -tags containers_image_openpgp,exclude_graphdriver_btrfs ./cmd/dive. integration: docker. Source: https://github.com/wagoodman/dive. Quote: dive A tool for exploring a Docker image, layer contents, and discovering ways to shrink the size of your Docker/OCI image. integration: podman. Source: https://github.com/wagoodman/dive. Quote: podman Podman. On linux the local store is read directly (no socket needed, see containers-storage, and a short name like myapp also finds podman's localhost/myapp), falling back to the podman socket. runs_on: linux. Source: https://github.com/wagoodman/dive. Quote: go build -tags containers_image_openpgp,exclude_graphdriver_btrfs ./cmd/dive. runs_on: macos. Source: https://github.com/wagoodman/dive. Quote: Building on macOS (supporting only the Docker container engine): runs_on: windows. Source: https://github.com/wagoodman/dive. Quote: Windows If you use Chocolatey choco install dive

View research source ↗

Coverage may be incomplete. “Written in” describes implementation, not supported project languages.

Discover your next favorite tool

Independent devtool reviews and the latest betas, in your inbox every Thursday. Free.