Docker registry + Ceph存储
环境:centos 7.2 64bit
1,安装docker-registry
yum install docker-registry
2,配置/etc/sysconfig/docker-registry
# The Docker registry configuration file
DOCKER_REGISTRY_CONFIG=/etc/docker-registry.yml
# The configuration to use from DOCKER_REGISTRY_CONFIG file
SETTINGS_FLAVOR=ceph-s3
# Address to bind the registry to
REGISTRY_ADDRESS=0.0.0.0
# Port to bind the registry to
REGISTRY_PORT=5000
# Number of workers to handle the connections
GUNICORN_WORKERS=4
3,修改/etc/docker-registry.yml,ceph-s3部分
ceph-s3: &ceph-s3
<<