Junior — Middle
Can you explain what is meant by Docker registry?
sobes.tech AI
Answer from AI
A Docker registry is a server-side storage for Docker images. It allows storing, distributing, and managing container images.
Main functions of Docker registry:
- Storage of images that can be pulled or pushed.
- Version management with tags.
- Centralized access to images for different users and systems.
A public Docker registry example is Docker Hub, but private registries can also be set up for internal use.
Usage example:
docker pull nginx:latest # download nginx image from registry
docker push myregistry.com/myimage:tag # upload image to private registry