Name: docker-nexus
Owner: Hewlett Packard Enterprise
Description: Docker image for Sonatype Nexus
Created: 2016-01-06 23:52:25.0
Updated: 2015-12-10 13:10:05.0
Pushed: 2016-01-10 06:03:02.0
Size: 25
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Docker images for Sonatype Nexus with the Oracle JDK.
To build:
cker build --rm --tag HewlettPackard/docker-nexus oss/
To run (if port 8081 is open on your host):
cker run -d -p 8081:8081 --name nexus HewlettPackard/docker-nexus
or to assign a random port that maps to port 8081 on the container:
cker run -d -p 8081 --name nexus HewlettPackard/docker-nexus
To determine the port that the container is listening on:
cker ps nexus
To test:
rl http://localhost:8081/service/extdirect/poll/rapture_State_get
To build:
Copy the Dockerfile and do the build-
cker build --rm=true --tag=HewlettPackard/docker-nexus .
Default credentials are: admin
/ admin123
It can take some time (2-3 minutes) for the service to launch in a new container. You can tail the log to determine once Nexus is ready:
cker logs -f nexus