Cloud Fundamentals
/Intermediate
Container Registry (ECR / ACR)
Definition
A highly available, secure, fully managed cloud repository for storing, managing, and deploying Docker container images.
Explain Like I'm New
A private, corporate version of Docker Hub. It is the locked vault where a company stores their proprietary application code after it has been packaged into a Docker container.
Real World Example
AWS ECR, Azure ACR, GCP Artifact Registry. The CI/CD pipeline finishes testing the Node.js app, builds the Docker image, and uploads it to ECR. The Kubernetes cluster then downloads the image securely from ECR to run it.
Common Use Cases
- •Storing Docker images
- •Vulnerability scanning
- •CI/CD integration
Interview Questions
basic
- If you push an image to AWS ECR, is it available to the public by default?
intermediate
- Why would a company pay for ECR instead of just using a free, private repository on Docker Hub?