Based on the official Nexus Repository Docker image from Sonatype
84
Sonatype Nexus Repository - Smart repository to manage and build artifacts, trusted by more than 150K orgranizations
Based on the official Nexus Repository Docker image from Sonatype, but
P@ssw0rd, so you don't need retrieve from admin.password file$ docker run --name jasonlws-nexus3 -p 8081:8081 -v /some/dir/nexus-data:/nexus-data -d jasonlws/nexus3:3.70.1-java8-ubi
Use a docker volume. Since docker volumes are persistent, a volume can be created specifically for this purpose. This is the recommended approach.
$ docker volume create nexus-data
$ docker run --name jasonlws-nexus3 -p 8081:8081 -v nexus-data:/nexus-data -d jasonlws/nexus3:3.70.1-java8-ubi
Mount a host directory as the volume. This is not portable, as it relies on the directory existing with correct permissions on the host. However it can be useful in certain situations where this volume needs to be assigned to certain specific underlying storage.
$ docker run --name jasonlws-nexus3 -p 8081:8081 -v /docker-compose/nexus-data:/nexus-data -d jasonlws/nexus3:3.70.1-java8-ubi
$ docker run --name jasonlws-nexus3 -p 8081:8081 -v ${PWD}//docker-compose//nexus-data//:/nexus-data -d jasonlws/nexus3:3.70.1-java8-ubi
| Tag | Based Image |
|---|---|
| 3.70.1-java8-ubi | Nexus 3.70.1 with Java 8 & Red Hat Universal Base Image 8 Minimal |
MIT - a permissive free software license originating at the Massachusetts Institute of Technology (MIT), it puts only very limited restriction on reuse and has, therefore, an excellent license compatibility. It permits reuse within proprietary software provided that all copies of the licensed software include a copy of the MIT License terms and the copyright notice.
Check the LICENSE file for more details.
Content type
Image
Digest
sha256:ceda2548b…
Size
352.4 MB
Last updated
about 2 years ago
docker pull jasonlws/nexus3:3.70.1-java8-ubi