Container Image Explorer

Inspect a container image: platforms, layers, base image, root user, labels and cosign signature.

os/arch[/variant] picked from multi-platform images.

More options

Offline mode, e.g. output of `docker buildx imagetools inspect --raw <image>`.

e.g. `crane config <image>` or `docker inspect` Config section.

Try an example:

More about this tool

Part of Provenance Security & supply-chain explorers

How it works

Reads an image straight from its registry (Docker Hub, GHCR, Quay or any OCI registry with anonymous pull): the index and per-platform manifests, layer sizes, digest, and the config blob (creation date, user, environment variable names, OCI labels such as source and revision, build history). Flags root user, likely secrets in env / build args, end-of-life base distributions, missing provenance labels and whether a cosign signature is published.

  • Registry access follows the Docker / OCI distribution token flow: an anonymous request is answered with a WWW-Authenticate Bearer challenge, a pull-scoped token is requested from the advertised realm (auth.docker.io, ghcr.io/token, …) and the request is retried. Only public images work.
  • GET /v2/<repo>/manifests/<tag> with OCI + Docker media types; for an index / manifest list the platforms are listed and the requested platform manifest is fetched. BuildKit attestation manifests (provenance / SBOM, platform unknown/unknown) are counted. The config blob is fetched by digest and its SHA-256 is checked against the manifest.
  • Cosign signatures are looked up by cosign's tag convention (sha256-<digest>.sig) for the image digest. Signatures stored only via the OCI referrers API or Sigstore bundles are not detected, and a found signature is not cryptographically verified here.
  • Root user: config.User empty, root or 0. Secrets: env names and build-arg names (from history "RUN |n NAME=…") matching password/secret/token/key patterns; values are never shown.
  • Base distribution is guessed from history, labels and env text and compared with an endoflife.date snapshot (2026-10-14). This tool does NOT scan layers for vulnerable packages — that needs a scanner such as Trivy or Grype run against the image.

Use this tool in an app

These free programs for your browser have this tool built in, next to everything else the task needs.

  • Provenance Software supply-chain security desk

    SBOMs, CVEs, containers and licences in one risk register — free.

    Open Provenance

Related tools

  • SBOM Explorer – Open a CycloneDX or SPDX SBOM: components, licences, dependency tree and known vulnerabilities.
  • CVE Relationship Graph – One CVE or GHSA as a graph: aliases, affected packages, fixed versions, KEV status and EPSS.
  • Artifact Provenance Explorer – Verify npm build provenance: Sigstore signature, transparency log, source repo and commit.

How to use the Container Image Explorer

Inspect a public container image's platforms, layers, base image, user, labels and signature, and spot leaked build secrets and outdated bases.

What it is for

Before you deploy a container image — your own or someone else's from Docker Hub, GHCR or Quay — some basic questions are worth answering. Which platforms does it support? How big is it? Does it run as root? What is it based on, and is that base still getting security updates? Does it link back to its source code? Did someone bake a token into the build history? Is a signature published?

This tool reads the image straight from its registry using anonymous pull, or from a manifest and config you paste. It lists platforms and layers, verifies the config blob's digest, reads the creation date, user, environment variable names, OCI labels, exposed ports and build history, guesses the base distribution and checks it against an end-of-life snapshot, and looks for a cosign signature tag.

It doesn't scan layers for vulnerable packages — use a scanner like Trivy or Grype for CVEs. It only works for public images. And a found cosign signature is not cryptographically verified here, while signatures stored only via the OCI referrers API aren't detected at all.

Worked example

The page example pastes the manifest and config of an illustrative Node.js API image. The tool returned:

Pasted image: 3 layers, 102.6 MB compressed for linux/amd64, runs as root, base Debian 10 (buster) (extended-only); 1 serious and 4 warning finding(s).

The findings, from worst down:

  • Bad: the build history contains RUN |1 NPM_TOKEN=*** … npm ci --omit=dev. A build argument that looks like a secret is recorded in the image metadata; anyone who pulls the image can read it. The tool hides the value, but it is there.
  • Warning: no USER set, so the app runs as root.
  • Warning: built 2024-03-12; at the time of this run that was 956 days ago, so the tool says OS packages are likely missing "about 2.6 years" of security updates.
  • Warning: base node:18-buster is Debian 10, whose regular security support ended 2024-06-30 (only LTS/ELTS until 2029-06-30).
  • Warning: Node.js 18 reached end of life on 2025-04-30.
  • Good: OCI labels link the image to https://github.com/example/shop-api at revision 9f2c1d7e4b5a.

The config digest verified. Port 3000/tcp is exposed, the command is node server.js, and there's no HEALTHCHECK. The signature wasn't checked, because offline mode makes no registry calls.

How to read the result

  • Digest, media type and platforms: what the tag currently resolves to, plus attestation manifests (provenance/SBOM) if BuildKit attached them.
  • Layers: compressed sizes; the unpacked image is larger.
  • Config: created date and age, OS/architecture, user, env names, labels, ports, entrypoint/cmd and history.
  • Base image: detected distribution and version, its end-of-life date and support status.
  • Signature: whether a cosign .sig tag exists for the digest.
  • Findings: bad, warning, info and good, in that order.

Tips and common mistakes

  • A leaked build secret must be rotated, not just removed from the next build: old image versions still carry it.
  • Use BuildKit secret mounts (RUN --mount=type=secret) for tokens needed during the build; they never reach the history.
  • Pin images by digest in production. Tags like latest or 18 can point to different content tomorrow.
  • Old image age matters even with a supported base: packages only update when you rebuild.
  • Check the platform field when running on ARM machines; a missing linux/arm64 entry means emulation or failure.

FAQ

Why is "runs as root" only a warning?

Root inside a container isn't automatically root on the host, but it widens the impact of a container escape or misconfiguration. A non-root USER is a cheap safeguard.

Can I inspect a private image?

Not via the registry lookup, which only uses anonymous pull. Paste the manifest and config (e.g. from crane config or docker buildx imagetools inspect --raw) instead.

Does a cosign signature mean the image is safe?

It shows the publisher signed that digest, if you also verify it with their public key or identity. The tool only reports whether a signature tag exists.

Why aren't CVEs listed?

The tool reads metadata, not layer contents. Run a vulnerability scanner against the image digest for that.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://containerimageexplorer.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://containerimageexplorer.usefulweb.site/mcp · tool name container_image_explorer
Example request
curl -s -X POST https://containerimageexplorer.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{…see OpenAPI examples…}'
Feedback · ideas & bug reports welcome