Junior — Middle
Can you explain what a Docker registry is and what it is used for?
sobes.tech AI
Answer from AI
Docker registry is a service (storage) where Docker images are stored. It allows developers and automation systems to upload (push) and download (pull) container images.
Main tasks of Docker registry:
- Centralized storage of images.
- Ensuring shared access to images among teams.
- Managing image versions.
An example of a public Docker registry is Docker Hub, but a private registry can also be configured for internal company needs.
Usage:
- Create an image locally.
- Upload it to the registry using
docker push. - Other users or servers can download the image via
docker pulland run a container.