Skip to content

Latest commit

 

History

History
49 lines (25 loc) · 867 Bytes

registry.md

File metadata and controls

49 lines (25 loc) · 867 Bytes

registry

mirror config

  • /etc/systemd/system/docker.service.d/50-insecure-registry.conf
[Service]
Environment='DOCKER_OPTS=--insecure-registry="10.11.0.0/16" --registry-mirror=http://REGISTRY_MIRROR_COM'

install

docker run -e STORAGE_PATH=/registry -v /hdd1/docker-registry -p 5000:5000 --name registry -d registry

Registry URL

https://docker.yunpro.cn/

It's https, not http

usage

Configure your Docker daemons to use our registry mirror

You will need to pass the --registry-mirror option to your Docker daemon on startup:

docker --registry-mirror=https://docker.yunpro.cn -d

OR

add the --registry-mirroroptions to the DOCKER_OPTS variable in /etc/default/docker.