← Back to DiveScope

DiveScope Guide

Step 1: Export Your Docker Image

Use docker save to export any local image as a tar file:

docker save myapp:latest > myapp.tar
# or
docker save myapp:latest -o myapp.tar

This works with any image in your local Docker daemon — pulled from a registry or built locally.

Step 2: Open DiveScope

Go to dive.nullkit.com and drag your .tar file onto the drop zone. You can also click the drop zone to use a file picker.

Step 3: Explore the Results

DiveScope shows four tabs of analysis:

Understanding Docker Layers

Each Dockerfile instruction creates a layer in the image. Key concepts:

Tips for Reducing Image Size

FAQ

How do I export a Docker image as a tar file?

Run docker save <image-name> > image.tar or docker save <image-name> -o image.tar in your terminal.

Does DiveScope upload my Docker image?

No. All processing happens locally in your browser. Your files never leave your machine.

What Docker image formats are supported?

DiveScope supports both legacy Docker V2 format (Docker <25) and modern OCI layout format (Docker 25+).

How can I reduce my Docker image size?

Use multi-stage builds, minimize the number of layers, combine RUN commands, use .dockerignore, choose minimal base images like Alpine, and clean up package caches in the same layer.