📦Container Registry
Also known as Image Registry, Docker Registry, Container Image Registry
A server that stores container images. You push them up and pull them down.
Think of it like
It is like a library for images. You put one on the shelf, and others can borrow it.
Example
Lucy's build pipeline pushes each new image to her team's private registry. The live servers pull version 2.3 from there and start it.
Why it matters
Servers need one trusted place to fetch images from. The registry is that place.
Definition
Example code
bash
docker tag shop-app:2.3 registry.example.com/team/shop-app:2.3
docker push registry.example.com/team/shop-app:2.3Common mistake
Key takeaways
- 1Push and pull. Builds go up, servers fetch them down.
- 2Folders and tags. One folder holds all the versions of one image.
- 3Public or private. Open to all, or to one team.