标签:
$ docker run -p 8080:8080 -e REG1=http://104.236.246.10:5000/v1/ atcol/docker-registry-ui
$ docker run --name=registryui -p 8080:8080 -e REG1=http://0.0.0.0:5000/v1/ atcol/docker-registry-ui
docker run -idt --name=Registry -e SETTINGS_FLAVOR=local -e AWS_BUCKET=acme-docker -e STORAGE_PATH=/var/lib/docker-registry -e SEARCH_BACKEND=sqlalchemy -v /var/lib/docker-registry:/var/lib/docker-registry -p 5000:5000 registry
$ boot2docker ssh "echo $‘EXTRA_ARGS=\"--insecure-registry <YOUR INSECURE HOST>\"‘ | sudo tee -a /var/lib/boot2docker/profile && sudo /etc/init.d/docker restart"
echo $‘EXTRA_ARGS=\"--insecure-registry 104.236.246.10:5000\"‘ | sudo tee -a /var/lib/boot2docker/profile && sudo /etc/init.d/docker restart
docker私有库UI和添加私有库到本机能够push和pull
标签:
原文地址:http://www.cnblogs.com/yaoliang11/p/4663490.html