Skip to content

dive

OfficialAgent-readyInfraContainers / Infra

Image layers, docker optimization, and container inspection from the terminal.

The official CLI from Anchore. Image layers, docker optimization, and container inspection from the terminal.

Task fit

image layers, docker optimization, and container inspection from the terminal.

Lane

Work with Kubernetes, Terraform, containers, and ops tooling with more confidence.

Operator brief

Use dive for image layers, docker optimization, and container inspection from the terminal.

Run `dive node:20` and see what comes back.

Repository family

Anchore

First trust check

dive responds locally and is ready for the first real command.

Safe first loop

Install, verify, then run one real command.

Infra inspection loop

Install command

$ brew install dive

Operator pack

Copy or export the working notes for this CLI before handing it to an agent.

Verify

$ dive --version

dive responds locally and is ready for the first real command.

First real command

$ dive node:20

First steps

  1. 01Install dive.
  2. 02Run `dive --version` first.
  3. 03Start with `dive node:20`.
  4. 04Install the infra CLI and verify kubeconfig, Docker context, or cloud credentials.

When to use / hold off when

Best for

image layers, docker optimization, and container inspection from the terminal.

Use this when

You work with containers and infrastructure and want a fast terminal interface.

Hold off when

You need fully non-interactive usage for CI.

Trust and constraints

trusted100/100
OfficialInstall readyTrusted
JSON outputNo
Non-interactiveNo
CI-friendlyNo

Why operators pick it

  • dive fits infra well, especially for image layers, docker optimization, and container inspection from the terminal.
  • It is the official CLI from Anchore.
  • Verify with `dive --version` first.

Constraints

  • Automation can be brittle.
  • Output is mostly plain text.
  • Better for local use than CI.

Facts and links

Install withbrew
Homebrew installs (30d)1.2K
GitHub stars53.6K
LicenseMIT
UpdatedDec 15, 2025