https://github.com/travelaudience/docker-nexus
A container image for Sonatype Nexus Repository Manager OSS, based on Alpine Linux.
https://github.com/travelaudience/docker-nexus
artifactory kubernetes nexus owner-cor repository-management
Last synced: about 1 month ago
JSON representation
A container image for Sonatype Nexus Repository Manager OSS, based on Alpine Linux.
- Host: GitHub
- URL: https://github.com/travelaudience/docker-nexus
- Owner: travelaudience
- License: apache-2.0
- Created: 2017-05-31T11:59:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-14T14:32:11.000Z (9 months ago)
- Last Synced: 2025-03-30T11:06:32.503Z (7 months ago)
- Topics: artifactory, kubernetes, nexus, owner-cor, repository-management
- Language: Dockerfile
- Homepage:
- Size: 50.8 KB
- Stars: 44
- Watchers: 9
- Forks: 44
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-nexus
A container image for Sonatype Nexus Repository Manager OSS, based on Alpine Linux.
[](https://quay.io/repository/travelaudience/docker-nexus)
## Current software
* Alpine Linux 3.21
* OpenJDK JRE 8u212
* Nexus Repository Manager OSS 3.70.3 ([release notes](https://help.sonatype.com/en/sonatype-nexus-repository-3-70-0-release-notes.html))## Running
Running it locally (for the latest tag, check [quay.io/repository/travelaudience/docker-nexus](https://quay.io/repository/travelaudience/docker-nexus?tab=tags):
```shell
docker run -p 8081:8081 --name nexus quay.io/travelaudience/docker-nexus:3.42.0-01
```## Reasoning
The Official Sonatype Nexus Docker image: https://hub.docker.com/r/sonatype/nexus3/ is suitable for most use cases. But as discussed in this blog post:
https://www.sonatype.com/travel-audience-devops-pipeline-solution
being able to `restore` from a backup requires stopping the nexus service. And this is not possible with the official image, as described in this bug report: https://issues.sonatype.org/browse/NEXUS-23442So while `travel audience` would prefer to support the official image, this is not possible at this time, and we hope that this lightweight image provides a suitable alternative to the community in the meantime.
The travel audience Nexus Docker image provides the following features that are not present in the official image:
* uses `runit` to run nexus under a secondary process
* uses an Alpine base image, instead of RedHat's UBI8
* provides an optional flag to make sure all mounted data is owned by the `nexus` user _(nexus will have issues if that's not the case)_