The Docker Official Images review checks a proposed Dockerfile against a written quality bar: timely upkeep, repeatable builds, consistent behaviour, clear init steps, cache-friendly layers and safe downloads. It reviews how the image is built and maintained. It does not promise that any given build is free of vulnerabilities.
What an official image is
An official image is part of a curated set of repositories on Docker Hub. Docker's documentation describes them as covering base operating systems, language runtimes and tools, and says each repository lists its current tags with links to the Dockerfiles that built them. A Docker-sponsored team reviews and publishes them, working in the open on GitHub with upstream maintainers and the community.
The same documentation says official images typically have few or no packages containing known CVEs. Read that as a statement about intent and upkeep, not a per-build guarantee. A base package that is clean today can pick up an advisory tomorrow.
What the reviewers look for
The official-images repository points maintainers to a checklist. In summary, reviewers check these areas.
| Area | What the review asks for |
|---|---|
| Maintainership | Version bumps and security fixes handled in a timely manner |
| Repeatability | The main program version pinned, no dependence on non-official images apart from scratch and a short list of pinned exceptions |
| Consistency | Running the image with a shell works, and entrypoint and command follow the guidelines |
| Clarity | Setup steps live in the Dockerfile instead of opaque scripts |
| Cacheability | Specific COPY paths, lines ordered from least to most likely to change |
| Security | HTTPS downloads, PGP signature checks with full fingerprints, embedded checksums, and no privileged mode |
Notice what is absent. There is no line that says "scan the result and block on any finding." The review is about the recipe.
What that means for you
Three practical consequences follow.
First, an official image is a good starting point because the recipe was read by someone other than the author, and the recipe is public. You can open the Dockerfile and see how the software was fetched and verified.
Second, you still own the scan. Findings in an official image come from the packages inside it, and those change as advisories are published. Scan the exact digest you plan to run.
Third, the review is about the image Docker builds, not about your layers on top. Anything you add with your own Dockerfile is yours to check.
A short way to use this
- Pull the official image for your runtime rather than a community image with the same software.
- Open the Dockerfile linked from the tag you chose and skim the download and verification steps.
- Scan the digest and record it.
- Re-scan on a schedule, because the clean result you got on day one will age.
Try it yourself
Click through it at your own pace, or open it full screen. Look at how findings attach to the packages inside an image, which is the part the official review does not cover.
Safeguard scans container images for known vulnerabilities, produces an SBOM, and lets you set policies and gates on what may ship. You can try a free scan at gold.safeguard.sh/scan.
Quick check
Does an official image mean zero vulnerabilities?
No. The review covers how the image is built and maintained. New advisories can still match packages inside it, so scan the digest you use.
Can I read how an official image was built?
Yes. Each repository lists its tags with links to the Dockerfiles that built them.
Sources
- Docker Docs: Trusted content on Docker Hub
- Docker Docs: Docker Official Images
- docker-library/official-images on GitHub
Last reviewed: 19 October 2026.