DockerNexpose
DockerNexpose copied to clipboard
Nexpose Docker Container
DockerNexpose
Uses the nexpose chef cookbook to create a nexpose docker container
USAGE
Pull Down Image
docker pull whithajess/dockernexpose
Deamonize Image
sudo docker run \
--name nexpose_container \
-p 49160:3780 \
-d whithajess/dockernexpose
Check State
Nexpose takes awhile to set up all its stuff.
docker attach $PID should show you where its up to.
Log In
- use your local browser port 49160: https://localhost:49160/
- default username/password is nxadmin/nxadmin
- will need to active community license here etc.
Licensing
Nexpose needs a license to work. To get one, get through their downloading process on the Rapid7's website. Licensing must be done through the web interface, but then, it can be save inside a new docker image.
# once the licensing is done, save the new image
docker commit nexpose_container nexpose_licensed
# from now on, use the new image to run nexpose
docker run \
--name nexpose_container \
-p 49160:3780 \
-d nexpose_licensed
NB: can pass different configs to chef to set different defaults etc.