Interview Prep/Docker/Registries, Tagging & Supply Chain

Docker Hub vs ECR vs GHCR vs Harbor: how do you choose?

IntermediateProductionRegistries, Tagging & Supply Chain
Answer
  • Docker Hub: public distribution; rate limits.
  • ECR: best on AWS (IAM, VPC endpoints, no egress cost inside region).
  • GHCR: tight GitHub Actions integration, good for open source.
  • Harbor: self-hosted, multi-cloud, policy/replication/proxy cache, on-prem and air-gapped.
  • Also GAR (GCP), ACR (Azure), Quay (Red Hat).

Choose by where workloads run, compliance and egress cost.

All Docker questions Roadmap: Docker & containers

More on Registries, Tagging & Supply Chain