docker run -d -v /root/allen/registry:/var/lib/registry -p 5000:5000 --privileged=true --name docker_registry_pengbao registry:latest
docker-machine ssh default
sudo vi /var/lib/boot2docker/profile
在EXTRA_ARGS參數裏增長docker
--insecure-registry 192.168.99.100:5000
2.3.從新啓動docker瀏覽器
sudo /etc/init.d/docker restart
2.4.重啓docker容器bash
docker restart 73d930
命令行ssh
curl -XGET http://registry:5000/v2/_catalog
或者瀏覽器中輸入http://192.168.99.100:5000/v2/_catalogcurl