Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1015 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 1015 Bytes

Sonatype Lifecycle Docker Container

Sonatype Nexus Lifecycle is a Java and Javascript lifecycle manager that includes artifact and package scanning. You must have a license in order to use this software.

Basic Usage

To run the container with an exposed port on the host of 8070 (the default port of Sonatype) and a volume on the host to store the configuration data, run this command:

$ docker run -d -p 8070:8070 -v /home/user/sonatype:/opt/sonatype/sonatype-work -v /home/user/sonatype-log:/opt/sonatype/log fastglass/sonatype-lifecycle

Arguments

  • Exposed ports: 8070
  • Volumes:
    • /sonatype-work/: Volume to store the Sonatype data
    • /log/: Volume to store the server logs

Build Image

$ docker build -t sonatype-lifecycle

Note: This Docker container is not associated with Sonatype and is not an official container. Sonatype Lifecycle is downloaded from Sonatype's website in the build process.