Nexus Maven Repository Docker File
This is the open source community edition of the Nexus Maven Repository and does not require any licences.
To run the container use this command. (If you want to name your container differently simply change nexus to your preferred name)
#!docker docker run --name nexus -d -p 8081:8081 krisdavison/nexus-server
Checking it worked
On the host machine open a browser to the following url. This should bring up the running nexus server.
The Dockerfile also contains two volumes mapped to the config directory and the storage directory inside nexus type the following to show the mapped locations.
#!bash docker inspect <container-name>
The default login for nexus is
username : admin
password : admin123
For more information on using nexus try the documention at the following url.