Hi,

Docker changed the old docker-registry project to docker-distribution
and its API to v2.
It now uses librados instead of radosgw to save data.

In some ceph installations it is easier to get access to radosgw than
to the cluster, so I've made a pull request to add radosgw support, it
would be great if you test it.
https://hub.docker.com/r/lorieri/docker-distribution-generic-s3/

Note: if you already use the old docker-registry you must create
another bucket and push the images again, the API changed to v2.

There is a shellscript to help https://github.com/docker/migrator

How I tested it:

docker run -d -p 5000:5000 -e "REGISTRY_STORAGE=s3" \
-e "REGISTRY_STORAGE_S3_REGION=generic" \
-e "REGISTRY_STORAGE_S3_REGIONENDPOINT=http://myradosgw.mydomain.com"; \
-e "REGISTRY_STORAGE_S3_BUCKET=registry" \
-e "REGISTRY_STORAGE_S3_ACCESSKEY=XXXXXXX" \
-e "REGISTRY_STORAGE_S3_SECRETKEY=XXXXXXX" \
-e "REGISTRY_STORAGE_S3_SECURE=false" \
-e "REGISTRY_STORAGE_S3_ENCRYPT=false" \
-e "REGISTRY_STORAGE_S3_REGIONSUPPORTSHEAD=false" \
lorieri/docker-distribution-generic-s3


thanks,
-lorieri
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to