Prepare a Nexus Maven private repository
1. port nat mapping
#ssh
VBoxManage modifyvm "boot2docker-vm" --natpf1 "tcp-port_50022:22,tcp,,50022,,40022”
#mysql
VBoxManage modifyvm "boot2docker-vm" --natpf2 "tcp-port_53306:3306,tcp,,53306,,43306”
#Nexus web
VBoxManage modifyvm "boot2docker-vm" --natpf3 "tcp-port_50080:80,tcp,,50080,,40080”
2. prepare docker container
boot2docker start
boot2docker ssh
docker search ubuntu
docker pull ubuntu
docker run -it -p 40022:22 -p 40080:80 ubuntu
#sshd server
#nexus server
3. configure nexus server