Monday, August 3, 2020

How to configure Nexus 3 as private Docker Registry | How to host private Docker Registry in Nexus 3

Nexus 3 is one of the popular binary repository managers. It can be also used to store Docker images as well besides storing binaries such as WARs, EARs, Jars, DLLs and Exes.

Let us see how to configure Nexus to host as private Docker registry.

  • Make sure Nexus is successfully configured, it is up and running.
  • Also do open port 8085 open as well besides port 8081 for Nexus.
  • Docker is setup and running.
Steps to configure Nexus 3 as Docker Registry:

1. Login to Nexus and click on Server Administration link at the top of the window. Click on Repositories.

2. Now click on create repository

3. Choose docker hosted repository

4. Choose the value as mentioned:

5. Click on Create repository.

Configure Realm
6. Move Docker Bearer Token realm to right by clicking on >

This settings allows docker repository to have anonymous read enabled.

7. after moving save it.

Please click below link to know how to create Docker image and push docker images into Nexus

No comments:

Post a Comment

How to Deploy Springboot Microservices App into EKS cluster using Jenkins Pipeline and Helm | Deploy Microservices into EKS cluster using Helm and Jenkins Pipeline

We are going to learn how to automate build and deployment of Springboot Microservices Docker Container into Elastic Kubernetes Cluster(EKS)...