deftools.io Developer Tools

🐳 Docker Image Inspector

Inspect Docker images from a docker save tar — layers, sizes, files per layer, and wasted space analysis.

Drop a docker save .tar file here, or click to browse

Supports docker-archive format (docker save myimage -o image.tar)

About this tool

Inspect what's inside a Docker image without pulling it or running a container. Upload a .tar file created with docker save IMAGE -o image.tar and get a breakdown of every layer: its compressed size, the files it adds, and — critically — which files are overwritten by later layers (wasted space).

This is the browser equivalent of the dive CLI tool. All processing happens locally — your Docker image never leaves your machine.

Example: docker save nginx:latest -o nginx.tar → upload here → see 7 layers, ~190 MB total, with 3 files overwritten in later layers wasting 12 MB.

FAQ

How do I create a tar file from my Docker image?

Run "docker save IMAGE:TAG -o image.tar". For example: "docker save nginx:latest -o nginx.tar". The resulting .tar file can be uploaded here.

What counts as "wasted space"?

When a file is created in one layer and then overwritten (modified or deleted) in a later layer, the original copy in the earlier layer still occupies space in the final image. This tool flags those files so you can restructure your Dockerfile to avoid it.

Is this like the "dive" CLI tool?

Yes — it provides layer-by-layer file inspection and wasted space analysis, similar to dive. The difference is that this runs entirely in your browser with no installation required.

Does this support compressed layers?

Yes. Docker layers inside the tar archive may be gzip-compressed. This tool decompresses them automatically using the browser's built-in DecompressionStream.

More developer tools

Copied!