Container Registry
Pronunciationkun-TAY-ner REJ-is-tree
Definition
A container registry is a service that stores container images and lets you push new versions and pull them to run on any server. Examples: Docker Hub, GitHub Container Registry and AWS ECR.
Where you hear it
In CI/CD pipelines, Kubernetes manifests (image: lines) and deployment scripts.
Examples
The pipeline builds the image and pushes it to the registry.
Pin the deployment to a specific tag, not
latest.CI pushes the new image to the registry, and the server pulls that exact version.
Common mistake
Deploying the latest tag. You can't tell which version is running or roll back reliably.
Don't confuse with
A Git repository, which stores source code. A registry stores the built images.
Say it at work
- In a meeting or chat
Which registry do we push to?
- In an email or ticket
Tag the image with the commit hash.