Nexus Repository Manager 3.x - https Docker Image

Dockerized version of Nexus Repo Manager 3 with HTTPS configured


Version latest was released January 25, 2017

Download from GitHub

Basic usage


A Dockerfile for Sonatype Nexus Repository Manager 3 with HTTPS support, based on CentOS.GitHub Repository: Dockerfile is loosely based on the following, please refer to it for additional configuration information: 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 .


  • 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