docker-machine start idnginx
docker pull lizhien/centos7-lnmpdocker
docker commit develop lizhien/centos7-lnmpcentos
docker push lizhien/centos7-lnmpbash
docker run —-name develop p80:80 -p3306:3306 -v /Users/zj-db0979/docker:/docker -d lizhien/centos7-lnmp:latestssh
docker exec -it id bashtcp
VBoxManage modifyvm default –natpf1 「nginx,tcp,,20080,,10080」ide
boot2docker ssh,密碼tcuser dockercentos7
sudo -Ilnmp
/var/lib/boot2docker/profile
EXTRA_ARGS='--label provider=virtualbox --insecure-registry 192.168.1.10:5000'it