Descoped SonaType Nexus OSS
This image provides support for the SonaType Nexus OSS.
Maven is a project build software tool for Java, which supports transitive dependency management. Nexus is a Repository Manager used by Maven. Others tools that also uses Maven style repository management are e.g. Grails and Ivy.
For developers and companies that requires the ability to host their own artifacts; the solution is Nexus.
This image enables you to get a Nexus Artifact Repository Manager up and running in seconds.
How to use?
Run docker using port 8081 on your host (if available):
docker run -d -p 8081:8081 --name nexus descoped/nexus
Run with repo outside the container using an external volume:
docker run -d -p 8081:8081 --name nexus -v /var/docker/sonatype-work:/var/sonatype-work -e CONTEXT_PATH=/ descoped/docker-nexus
The exposed VOLUME is
To stop the running instance:
$ docker nexus stop
To start running instance:
$ docker nexus start
||passed as -Dnexus-webapp-context-path. This is used to define the URL which Nexus is accessed|
||passed as -Xmx. Defaults to
||passed as -Xms. Defaults to
||Additional options can be passed to the JVM via this variable. Default:
||A list of configuration files supplied to the Nexus bootstrap launcher. Default:
Environment variables can be supplied at runtime to control the JVM using option e.g.
If you want to contribute to this project or make use of the source code; you'll find it on GitHub.
Building the image
docker build -t descoped/nexus .
- Reference to base image