Public | Automated Build

Last pushed: 2 years ago
Short Description
Nexus (CentOS 7)
Full Description

docker-nexus







Dockr Image with Nexus build on top of official CentOS-7 image.

Build

Too build just type:

docker build -t million12/nexus .  

Run

Too run container:

docker run \
--name nexus \
-p 8081:8081 \
million12/nexus

Access web-interface

Tool Link Credentials
Nexus http://${docker-machine ip default}:8081/nexus admin/admin123

Docker troubleshooting

Use docker command to see if all required containers are up and running:

$ docker ps -a

Check online logs of nexus container:

$ docker logs nexus

Attach to running nexus container (to detach the tty without exiting the shell,
use the escape sequence Ctrl+p + Ctrl+q):

$ docker attach nexus

Sometimes you might just want to review how things are deployed inside a running container, you can do this by executing a bash shell through docker's exec command:

docker exec -i -t nexus /bin/bash

History of an image and size of layers:

docker history --no-trunc=true million12/nexus | tr -s ' ' | tail -n+2 | awk -F " ago " '{print $2}'

Author

Author: Przemyslaw Ozgo linux@ozgo.info

Licensed under: The MIT License (MIT)

Sponsored by PrototypeBrewery.io - the new prototyping tool
for building fully interactive prototypes of your website or web app. Built on top of
Neos CMS and Zurb Foundation framework.

Docker Pull Command
Owner
million12
Source Repository

Comments (0)