[root@etcd ~]# yum -y install epel-release
[root@etcd ~]# yum -y install python-dev* libevent-dev* python-pip* openssl-devel xz-devel libffi-dev*
[root@etcd ~]# git clone https://github.com/docker/docker-registry.git
[root@etcd ~]# cd docker-registry/
[root@etcd docker-registry]# ls
ADVANCED.md CHANGELOG.md config CONTRIBUTING.md depends docker_registry FAQ.md MANIFEST.in requirements setup.cfg tests
AUTHORS circle.yml contrib DEBUGGING.md Dockerfile DRIVERS.md LICENSE README.md scripts setup.py tox.ini
[root@etcd docker-registry]# cp config/config_sample.yml config/config_yml
在Kubernetes集群的etcd上搭建私有docker仓库
原文地址:http://blog.51cto.com/sf1314/2124934