Public and Private Docker Registries
The two types of repositories offered by Docker Hub are public and private. Since the majority of our Docker images contain source code and all the dependencies necessary for our application, the public repository is accessible to anyone who works on Docker images that we store in the Docker Hub public registry, which is bad for businesses. Therefore, Docker Hub offers a paid private repository; but, because cloud storage is expensive, numerous images cannot be stored there.
We can create a free, personal Docker registry on a local computer. We may adjust the authentication, balance the load, and make other configuration adjustments using a private registry. Here, we can keep our images in a private place.
Docker – Private Registries
Pre-requisites: Docker, Docker HUB
Docker registry is your own private repository where you can store your own Docker images and share them with others. Docker Registry is basically organized into Docker Repositories. Within the docker Repository, you can maintain specific versions of a Docker Image.