advancedTop 100 Interview Questions

What is a registry, and how does it differ from Docker Hub?

A registry is any server implementing the Docker/OCI Registry API for storing and distributing images. Docker Hub is one specific, popular public registry; private registries (Harbor, AWS ECR, GitHub Container Registry, self-hosted) implement the same API and can be used interchangeably by simply changing the image reference's hostname.

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 Why was dockershim removed from Kubernetes?← Back to all Docker questions