In this recipe, we will show you three different ways to set up your own private registries:
- Using Kubernetes to run a private registry image (https://hub.docker.com/_/registry/)
- Using Amazon elastic container registry (https://aws.amazon.com/ecr/)
- Using Google container registry (https://cloud.google.com/container-registry/)
When using a Kubernetes to set up a private registry, you may use your own Kubernetes cluster on the private or public cloud, which allows you to have full control and utilize most of your physical resources.
On the other hand, when using a public cloud-provided service, such as AWS or GCP, you can be relieved of the management of servers and storage. Whatever you need, those public clouds provide you with elastic resources. We'll just have to set the credentials to Kubernetes and let the nodes know. The following recipes will go through these three different options.