[[email protected] ~]# yum groupinstall -y "Development Tools"
[[email protected] ~]# yum -y install epel-release
[[email protected] ~]# yum -y install python-dev* libevent-dev* python-pip* openssl-devel xz-devel libffi-dev*
[[email protected] ~]# git clone https://github.com/docker/docker-registry.git
[[email protected] ~]# cd docker-registry/
[[email protected] 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
[[email protected] docker-registry]# cp config/config_sample.yml config/config_yml
原文地址:http://blog.51cto.com/sf1314/2124934