Public | Automated Build

Last pushed: 14 days ago
Short Description
Alpine Linux based Docker image with Sonatype Nexus Repository OSS 3.x
Full Description

Sonatype Nexus Repository OSS 3.8

Alpine Linux 3.7 based image

Example usage

Data store persisted into ./data/ in current directory with repository
manager (port 8081) and Docker registry (port 5000) available :

docker run -d -v $(pwd)/data:/opt/nexus-data \
          -p 8081:8081 -p 5000:5000 \
          --ulimit nofile=65536 \
          --name nexus-repository-oss \
          04n0/nexusrepmanoss:3.8-alpine

If you need to override the default configuration of JVM heap memory size, you
can do so by passing environment variables JVM_HEAP_MIN and/or JVM_HEAP_MAX
to the container:

docker run -d -v $(pwd)/data:/opt/nexus-data \
          -p 8081:8081 -p 5000:5000 \
          -e JVM_HEAP_MIN=2048M -e JVM_HEAP_MAX=2048M -e MAX_DIRECT_MEMORY=2048M \
          --ulimit nofile=65536 \
          --name nexus-repository-oss \
          04n0/nexusrepmanoss:3.8-alpine

The default configuration is:

  • JVM_HEAP_MIN=1024M
  • JVM_HEAP_MAX=1280M
  • MAX_DIRECT_MEMORY=1792M
Docker Pull Command
Owner
04n0
Source Repository