Alpine Linux based Docker image with Sonatype Nexus Repository OSS 3.x
4.3K
Alpine Linux based image
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:
You can find more information in System Requirements page.
Content type
Image
Digest
Size
256.5 MB
Last updated
almost 5 years ago
docker pull 04n0/nexusrepmanoss:3.37-alpine