registry

docker pull

Downloads an image or repository from a registry into the local image store. Defaults to Docker Hub and the latest tag when unspecified.

docker pull [OPTIONS] NAME[:TAG|@DIGEST]

Common flags

Flag Purpose
-a, --all-tags Download all tagged images in the repository
--platform Pull a specific platform variant (e.g., linux/arm64)
-q, --quiet Suppress verbose progress output
--disable-content-trust Skip image signature verification (default true)

Examples

docker pull nginx:1.27-alpine

Pull a specific tag rather than latest

docker pull --platform linux/amd64 postgres:16

Force amd64 image on an arm64 host

docker pull ghcr.io/owner/repo:sha-abc123

Pull from GitHub Container Registry

docker pull redis@sha256:e34a2a...

Pull by immutable content digest

Gotcha

Pulling :latest is non-deterministic — pin tags or digests in production. Rate limits apply on Docker Hub for anonymous and free-tier pulls.

Related commands

← All Docker commands · Docker vs Kubernetes · Docker vs VMs