beginnerDocker Architecture, Engine, Daemon, Client & Registry

What is a Docker Registry, and how is it different from Docker Hub?

A registry is any server implementing the Docker Registry HTTP API v2 for storing and distributing images by name and digest. Docker Hub is Docker Inc.'s public hosted registry and the default one the CLI pulls from. Private alternatives include AWS ECR, GitHub Container Registry (GHCR), Google Artifact Registry, and self-hosted options like Harbor or Nexus.

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to What is the OCI and why does it matter?← Back to all Docker questions