先安装docker:http://www.cnblogs.com/cjsblogs/p/8717304.html
安装私有仓库
#下载registry docker pull registry #制作标签 docker tag docker.io/registry ip:5000/registry #运行私有registry docker run -d -p 5000:5000 -v /opt/registry:/var/lib/registry --name registry ip:5000/registry