<iframe src="//www.googletagmanager.com/ns.html?id=GTM-TT8R4P" height="0" width="0" style="display:none;visibility:hidden">

Nexus Repository Manager 3.x - https Docker Image

Dockerized version of Nexus Repo Manager 3 with HTTPS configured

Download

Version latest was released January 25, 2017

Download from GitHub

Basic usage

bradbeck/nexus-https

A Dockerfile for Sonatype Nexus Repository Manager 3 with HTTPS support, based on CentOS.GitHub Repository: https://github.com/bradbeck/nexus-httpsThis Dockerfile is loosely based on the following, please refer to it for additional configuration information: https://github.com/sonatype/docker-nexus3To run, binding the exposed ports (8081, 8443), data directory, and volume containing keystore.jks.

$ docker run -d -p 8081:8081 -p 8443:8443 -v ~/nexus-data:/nexus-data -v ~/nexus-ssl:/opt/sonatype/nexus/etc/ssl --name nexus bradbeck/nexus-https
To (re)build the image:
$ docker build --rm --tag=bradbeck/nexus-https .

Notes

  • Default credentials are: admin / admin123
  • Installation of Nexus is to /opt/sonatype/nexus.
  • Nexus will expect to find a java keystore file at /opt/sonatype/nexus/etc/ssl/keystore.jks which resides in the exposed volume /opt/sonatype/nexus/etc/ssl.
  • A persistent directory, /nexus-data, is used for configuration, logs, and storage. This directory needs to be writable by the Nexus process, which runs as UID 200.

Brad Beck

Company Sonatype

Contact bradbeck@sonatype.com