Sign inSign up

04n0/nexusrepmanoss

By 04n0

•Updated almost 5 years ago

Alpine Linux based Docker image with Sonatype Nexus Repository OSS 3.x

Image
0

4.3K

04n0/nexusrepmanoss repository overview

⁠Sonatype Nexus Repository OSS 3

Alpine Linux 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.33-alpine

If you need to override the default configuration of JVM memory, you can do so 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=4G -e JVM_HEAP_MAX=4G -e MAX_DIRECT_MEMORY=6717M \
          --ulimit nofile=65536 \
          --name nexus-repository-oss \
          04n0/nexusrepmanoss:3.33-alpine

The default configuration is:

  • JVM_HEAP_MIN=2703m
  • JVM_HEAP_MAX=2703m
  • MAX_DIRECT_MEMORY=2703m

You can find more information in System Requirements⁠ page.

Tag summary

Content type

Image

Digest

Size

256.5 MB

Last updated

almost 5 years ago

docker pull 04n0/nexusrepmanoss:3.37-alpine