vurarea.blogg.se

Nexus docker registry setup
Nexus docker registry setup





nexus docker registry setup

Login to the nexus using The default admin user name is admin. The admin password is located in the /nexus-data/admin.password file in the container. Type a name for the repository and set the HTTP port 8083 that we have opened earlier on the container while running it. Note: here, we will use port 8083 for docker repository connector. The connector will be used to push/pull docker image to the nexus reposition from a host machine.ĭocker run -d -p 8081:8081 -p 8083:8083 –name nexus -v nexus-data:/nexus-data sonatype/nexus3 You also need to expose another random port that we will use as a connector port. Remember that nexus container will be exposed on port 8081. Ĭreate a docker volume and run the Nexus container

nexus docker registry setup

You can either install the docker in your host machine or you can install a Ubuntu virtual box and then install docker on it.Īt first create Ubuntu virtual machine and then install docker. Scenario: To create a private docker repository in your local machine for development purpose, you can deploy a Nexus3 docker image with a persistent volume in a minute.







Nexus docker registry setup