docker私有库UI和添加私有库到本机能够push和pull

$ 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

posted @ 2015-07-21 09:48  冰岛  阅读(366)  评论(0编辑  收藏  举报