Dive is a command-line tool designed for the analysis and optimization of container images. It functions as a layered storage inspector, allowing users to decompose image manifests to examine individual filesystem layers and identify opportunities to reduce total image size.
The tool features a filesystem diffing engine that calculates net changes between sequential layers to highlight redundant data and storage inefficiencies. Users interact with this data through a terminal-based dashboard that provides keyboard-driven navigation of complex file structures and layer metadata. By abstracting the underlying container runtime, the tool maintains compatibility across various storage formats and engine environments.
Beyond manual inspection, the software supports automated quality gates for continuous integration pipelines. It evaluates image metadata against user-defined performance thresholds to validate efficiency and prevent the deployment of suboptimal builds. Configuration files allow for the adjustment of logging levels, interface layouts, and engine preferences to suit specific development workflows.