- What is the difference between Docker Hub and a private registry?
- Docker Hub is a public/private hosted registry with rate limits on free tiers. A private registry (Harbor, AWS ECR, GCR, GHCR) gives you full control over access, retention, and storage — essential for proprietary software that cannot be hosted publicly.
- Why should I pin image digests instead of tags?
- Tags like 'latest' or 'node:18' are mutable — the underlying image can change without warning. Pinning to a digest (sha256:...) guarantees immutability. Reproducible builds and security audits require exact digest pinning for base images.
- What is a multi-arch image?
- A container image that supports multiple CPU architectures (amd64, arm64) from a single tag, using a manifest list. Docker automatically pulls the correct architecture for the current platform. Multi-arch images are essential for Apple Silicon compatibility in CI/CD pipelines.