Docker registries
In the previous section, we created a new image with our application installed and ready to be used (in this case, a very simple Hello world
Node.js application).
Now, we need to distribute the image so it can be installed in all the stages of our deployment pipeline or even used by other developers. Docker is interesting for running applications but it is also a very interesting choice to create command-line tools that other developers can benefit from.
In order to distribute images, we have to rely on exporting/importing the image or using a registry. A registry is basically a software that allows us to store and distribute Docker images. There are two types of registries:
- Public registries
- Private registries
Let's take a look at the different registry types.
Public registries
The most known of the public registries is Docker Hub. It is the official and default registry that every Docker installation knows of. Also, it offers private repositories, but the most interesting feature...