A Docker Registry is a place where people can upload their Docker images so others can use those images. There are private and public registries. The main public registry is the Docker Hub where you can upload public images for free and private images after certain payment.
Docker registries by cloud providers
The big cloud providers also have their own container registries which are integrated with their cloud offering.
For example there is the GCR Google Cloud Container Registry,
the ECR AWS Elastic Container Registry and the Azure Container Registry.
The smaller players also offer it, for example there is the Digital Ocean Container Registry.
Search in the Docker HUB
In these registries you can search for various Docker images.
For example visit the Docker Hub and search for
mongodb. You'll find a number of images. You can download them and use them and you will not have to worry yourself how to create a Docker image for many of the common services.
Then search for
Wordpress. You'll find images that will make it easy to run Wordpress on your computer either locally or on a server. You won't have to worry much about installation and configuration and relatively easily you'll be able to upgrade it to newer versions.
Upload and share your Docker images
You can also create your account on Docker Hub and upload your own Docker images. As long as the images are public you don't have to pay and I think you can also have one private image, but if you'd like to have more than there is some fee involved.
The idea would be that you create and upload an image and then later you, some other members of your team, or even on your production server you can download use that image.
Docker Hub is for the general use, but if you use one of the cloud providers then probably you should also use their Docker registry.
Set up your own registry
If neither of those choices are good for you, for example because you'd like to have all the images in-house, you can deploy your own registry server. It can be on premise, in the offices of your company or you can put it on some server elsewhere.
That's all for now about Docker registries. We are going to see them later on as all the images we are using are based on some other image that is in the Docker hub.
The next episode will cover the
Hello World! of Docker containers.
The same in video:
Oldest comments (0)