Run Nexus in Docker container


Hadn’t Worked for me for python packages, but ok with standard installation outside docker


https://hub.docker.com/r/sonatype/nexus3/

$ docker run -d -p 8081:8081 --name nexus sonatype/nexus3


It can take some time (2-3 minutes) for the service to launch in a new container


http://localhost:8081/


$ docker exec -it 677963ed5f84 sh
$ cat nexus-data/admin.password


login: admin