commit | author | age
|
ac6169
|
1 |
.PP |
DK |
2 |
% |
|
3 |
.BR NEXUS (1) |
|
4 |
Container Image Pages |
|
5 |
% Sonatype |
|
6 |
% November 21, 2016 |
|
7 |
.TH NAME |
|
8 |
.PP |
|
9 |
nexus \- Nexus Repository Manager container image |
|
10 |
.SH DESCRIPTION |
|
11 |
.PP |
|
12 |
The nexus image provides a containerized packaging of the Nexus Repository Manager. |
|
13 |
Nexus Repository Manager is a repository manager with universal support for popular component formats including Maven, Docker, NuGet, npm, PyPi, Bower and more. |
|
14 |
.PP |
|
15 |
The nexus image is designed to be run by the atomic command with one of these options: |
|
16 |
.PP |
|
17 |
\fB\fCrun\fR |
|
18 |
.PP |
|
19 |
Starts the installed container with selected privileges to the host. |
|
20 |
.PP |
|
21 |
\fB\fCstop\fR |
|
22 |
.PP |
|
23 |
Stops the installed container |
|
24 |
.PP |
|
25 |
The container itself consists of: |
|
26 |
\- Linux base image |
|
27 |
\- Oracle Java JDK |
|
28 |
\- Nexus Repository Manager |
|
29 |
\- Atomic help file |
|
30 |
.PP |
|
31 |
Files added to the container during docker build include: /help.1. |
|
32 |
.SH USAGE |
|
33 |
.PP |
|
34 |
To use the nexus container, you can run the atomic command with run, stop, or uninstall options: |
|
35 |
.PP |
|
36 |
To run the nexus container: |
|
37 |
.IP |
|
38 |
atomic run nexus |
|
39 |
.PP |
|
40 |
To stop the nexus container (after it is installed), run: |
|
41 |
.IP |
|
42 |
atomic stop nexus |
|
43 |
.SH LABELS |
|
44 |
.PP |
|
45 |
The nexus container includes the following LABEL settings: |
|
46 |
.PP |
|
47 |
That atomic command runs the docker command set in this label: |
|
48 |
.PP |
|
49 |
\fB\fCRUN=\fR |
|
50 |
.IP |
|
51 |
LABEL RUN='docker run \-d \-p 8081:8081 \-\-name ${NAME} ${IMAGE}' |
|
52 |
.IP |
|
53 |
The contents of the RUN label tells an \fB\fCatomic run nexus\fR command to open port 8081 & set the name of the container. |
|
54 |
.PP |
|
55 |
\fB\fCSTOP=\fR |
|
56 |
.IP |
|
57 |
LABEL STOP='docker stop ${NAME}' |
|
58 |
.PP |
|
59 |
\fB\fCName=\fR |
|
60 |
.PP |
|
61 |
The registry location and name of the image. For example, Name="Nexus Repository Manager". |
|
62 |
.PP |
|
63 |
\fB\fCVersion=\fR |
|
64 |
.PP |
|
65 |
The Nexus Repository Manager version from which the container was built. For example, Version="3.0.2\-02". |
|
66 |
.PP |
|
67 |
When the atomic command runs the nexus container, it reads the command line associated with the selected option |
|
68 |
from a LABEL set within the Docker container itself. It then runs that command. The following sections detail |
|
69 |
each option and associated LABEL: |
|
70 |
.SH SECURITY IMPLICATIONS |
|
71 |
.PP |
|
72 |
\fB\fC\-d\fR |
|
73 |
.PP |
|
74 |
Runs continuously as a daemon process in the background |
|
75 |
|