A docker image containing Sonatype Nexus Repository Manager 3 running on Alpine Linux. This is heavily derived from the Sonatype docker-nexus3 project.
To run, binding the exposed port 8081 to the host and setting max memory.
$ docker run -d -p 8081:8081 --name nexus -e JAVA_MAX_HEAP=768m stocksoftware/nexus3
To test:
$ curl -u admin:admin123 http://localhost:8081/service/metrics/ping
/nexus-data, is used for configuration,
logs, and storage. This directory needs to be writable by the Nexus
process.admin / admin123/opt/sonatype/nexus.JAVA_MAX_MEM, passed as -Xmx. Defaults to 1200m.JAVA_MIN_MEM, passed as -Xms. Defaults to 1200m.EXTRA_JAVA_OPTS. Additional options can be passed to the JVM via this variable.NEXUS_CONTEXT. Context path for nexus web application if any. Defaults to empty string.
Note it should not include the initial /.Content type
Image
Digest
Size
186.3 MB
Last updated
over 9 years ago
docker pull stocksoftware/nexus3