Docker Official Image
A curated image on Docker Hub, such as alpine or python, maintained with documented, reviewed build files.
In more detail
Official images live in the library namespace, so docker pull alpine really means docker.io/library/alpine. They are rebuilt promptly for security fixes and are a sensible default base image. Official does not mean free of vulnerabilities; you still scan and update.
Example
FROM golang:alpine AS buildRelated terms
- Docker Hub — Docker public registry, used by default when an image name does not include a registry host.
- image namespace — The part of an image name that says which person or organisation owns it, such as team in registry.example.com/team/app.
- base image — The image a Dockerfile starts from with FROM, which supplies the operating system files and often a language runtime.
- image scanning — Checking the packages inside an image against lists of known vulnerabilities.
Taught in
- Pull And Inspect A Third Party Image — Docker Architecture & Production Containers
- Build Context, Dockerignore And Your First Dockerfile — Docker Architecture & Production Containers
- Tags, Digests And Reproducible Image References — Docker Architecture & Production Containers
- Environment, Secret Files And Runtime Restrictions — Docker Architecture & Production Containers
- Harden And Deliver The Complete Service Stack — Docker Architecture & Production Containers
- Shipping in Scratch and Distroless Images — Concurrent Systems Programming with Go