Public Docker Image Inspector

What is inside that image — before it lands on your disk?

A Docker image inspector reads a published image’s registry manifest and configuration blob — user, ports, entrypoint, environment variable names and every layer with its size and build line — so you can see what you are about to run before you pull it. Enter a public Docker Hub reference and this tool inspects the linux/amd64 build (every published platform is listed), then flags the things worth a second look: running as root, an unpinned latest tag, oversized layers, env names that look like secrets. The companion article Docker image inspection guide explains how to read each field. To audit the Dockerfile that built an image instead, use the Dockerfile Auditor; for the packages inside, the SBOM Vulnerability Scanner.

Last updated:

1. The image reference

🔒 The check runs on the SysOSX checker server against Docker Hub; env variable VALUES are never returned — only names. No report is stored.

What a reference means

A reference is repository:tag — nginx alone means library/nginx:latest, exactly like the Docker CLI, and grafana/grafana is the two-part form for non-official images. A digest reference (name@sha256:…) pins one exact build instead of a moving tag.

Only Docker Hub is supported, and only public images — no login, no private repositories, no other registries (a reference naming another registry is rejected, not silently redirected).

Most tags publish several platform builds. The inspector resolves the manifest list to the linux/amd64 build and names it in the summary; the full platform list is shown so you know what else the tag carries.

How the inspection works

The checker asks Docker Hub for an anonymous pull token, fetches the manifest (or manifest list) for your reference, then downloads the config blob — the JSON the publisher shipped with the image: user, working directory, exposed ports, entrypoint, cmd, labels, and the environment variable names.

Layer sizes and build lines come from the manifest’s layer list joined with the config’s history: each layer’s compressed size and the created_by line that produced it, so you can see where the weight sits and which step added it.

All findings are computed in your browser from those facts. There is deliberately no score: an inspection is a readout, not a grade — a big image is not automatically a bad one.

What this does not prove

Public images only. The tool cannot see private repositories, and an image that requires a paid Docker Hub plan behaves like a missing one.

The config is what the publisher shipped. An env name that looks like a secret is a prompt to check, not proof a secret value is embedded — values are never fetched for display, so the tool cannot confirm one either way.

Sizes are compressed registry sizes, not disk usage: an image expands when extracted, and shared base layers are counted once here even if your host already has them.

The inspected build is linux/amd64. Another platform build of the same tag can have a different user, different layers and a different size.

Glossary

ManifestThe registry JSON listing an image’s config blob and layer digests — the table of contents of an image.
Manifest list / indexA manifest pointing at several per-platform manifests, so one tag serves amd64, arm64 and more.
Config blobThe JSON describing how a container from this image starts: user, ports, entrypoint, cmd, env names, labels.
LayerOne stacked filesystem diff. Layers are downloaded and cached individually; their build lines live in the config history.
DigestThe sha256 content address of a manifest or layer. Pinning by digest freezes an exact build; a tag can move.
Official referenceDocker’s Registry HTTP API V2 spec: docs.docker.com/reference/api/registry/

Frequently asked questions

Why can I not inspect an image from another registry?

This tool speaks to Docker Hub only. Other registries (GHCR, Quay, private registries) use the same API shape but different auth and rate limits; supporting them honestly is separate work, so a reference naming one is rejected up front.

Are env values ever shown?

Never. The checker strips every Env entry to its variable name plus a count before anything leaves the server. Names that look like secrets are flagged as a prompt to check — the tool neither shows nor stores values.

Why is there no score?

An inspection is a readout, not an audit. Size, layer count and age are facts with context, not grades — a 600 MB data-science image can be perfectly healthy while a 5 MB image runs as root with a baked-in token. The findings list carries the warnings instead.