Docker Registry Nexus Kubernetes Login
Docker Hub is the world's easiest way to create, manage, and deliver your teams' container applications. Sign up for Docker Hub Browse Popular Images
With Sonatype Nexus 3 we can easily get private docker registry for Kubernetes cluster, npm and maven registry for applications. This recipe shows how to deploy docker private registry on its own domain name. At the end Nexus will be available at nexus.YOURDOMAIN.com and docker registry at docker.YOURDOMAIN.com.
I checked the documentation and saw that there was a Sonatype Nexus 3 chart available and decided to use that. It has a good UI and can also be used to store other binary assets, which will be needed later (I have used Artifactory for this in the past, but the Docker Registry component of that is not available in the OSS version).
Docker registry ¶. This example demonstrates how to deploy a docker registry in the cluster and configure Ingress enable access from Internet. Deployment ¶. First we deploy the docker registry in the cluster:
docker login. There is no direct analog of docker login in kubectl. If you are interested in using Kubernetes with a private registry, see Using a Private Registry. docker version. To get the version of client and server, see kubectl version. docker:
In this video I have demonstrated how to use Nexus repository server as Docker Registry. Nexus Installation Script: