Re: docker distribution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



looks like it only works if an nginx is in front of radosgw, it
translates absolute URIs and maybe fix other issues:

https://github.com/docker/distribution/pull/808#issuecomment-135286314
https://github.com/docker/distribution/pull/902

On Mon, Aug 17, 2015 at 1:37 PM, Lorieri <lorieri@xxxxxxxxx> wrote:
> 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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux