.PP
|
%
|
.BR NEXUS (1)
|
Container Image Pages
|
% Sonatype
|
% November 21, 2016
|
.TH NAME
|
.PP
|
nexus \- Nexus Repository Manager container image
|
.SH DESCRIPTION
|
.PP
|
The nexus image provides a containerized packaging of the Nexus Repository Manager.
|
Nexus Repository Manager is a repository manager with universal support for popular component formats including Maven, Docker, NuGet, npm, PyPi, Bower and more.
|
.PP
|
The nexus image is designed to be run by the atomic command with one of these options:
|
.PP
|
\fB\fCrun\fR
|
.PP
|
Starts the installed container with selected privileges to the host.
|
.PP
|
\fB\fCstop\fR
|
.PP
|
Stops the installed container
|
.PP
|
The container itself consists of:
|
\- Linux base image
|
\- Oracle Java JDK
|
\- Nexus Repository Manager
|
\- Atomic help file
|
.PP
|
Files added to the container during docker build include: /help.1.
|
.SH USAGE
|
.PP
|
To use the nexus container, you can run the atomic command with run, stop, or uninstall options:
|
.PP
|
To run the nexus container:
|
.IP
|
atomic run nexus
|
.PP
|
To stop the nexus container (after it is installed), run:
|
.IP
|
atomic stop nexus
|
.SH LABELS
|
.PP
|
The nexus container includes the following LABEL settings:
|
.PP
|
That atomic command runs the docker command set in this label:
|
.PP
|
\fB\fCRUN=\fR
|
.IP
|
LABEL RUN='docker run \-d \-p 8081:8081 \-\-name ${NAME} ${IMAGE}'
|
.IP
|
The contents of the RUN label tells an \fB\fCatomic run nexus\fR command to open port 8081 & set the name of the container.
|
.PP
|
\fB\fCSTOP=\fR
|
.IP
|
LABEL STOP='docker stop ${NAME}'
|
.PP
|
\fB\fCName=\fR
|
.PP
|
The registry location and name of the image. For example, Name="Nexus Repository Manager".
|
.PP
|
\fB\fCVersion=\fR
|
.PP
|
The Nexus Repository Manager version from which the container was built. For example, Version="3.0.2\-02".
|
.PP
|
When the atomic command runs the nexus container, it reads the command line associated with the selected option
|
from a LABEL set within the Docker container itself. It then runs that command. The following sections detail
|
each option and associated LABEL:
|
.SH SECURITY IMPLICATIONS
|
.PP
|
\fB\fC\-d\fR
|
.PP
|
Runs continuously as a daemon process in the background
|