{"action":"created","issue":{"url":"https://api.github.com/repos/docker/distribution/issues/808","labels_url":"https://api.github.com/repos/docker/distribution/issues/808/labels{/name}","comments_url":"https://api.github.com/repos/docker/distribution/issues/808/comments","events_url":"https://api.github.com/repos/docker/distribution/issues/808/events","html_url":"https://github.com/docker/distribution/pull/808","id":98576879,"number":808,"title":"Added generic S3 compatible APIs support","user":{"login":"lorieri","id":1039009,"avatar_url":"https://avatars.githubusercontent.com/u/1039009?v=3","gravatar_id":"","url":"https://api.github.com/users/lorieri","html_url":"https://github.com/lorieri","followers_url":"https://api.github.com/users/lorieri/followers","following_url":"https://api.github.com/users/lorieri/following{/other_user}","gists_url":"https://api.github.com/users/lorieri/gists{/gist_id}","starred_url":"https://api.github.com/users/lorieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorieri/subscriptions","organizations_url":"https://api.github.com/users/lorieri/orgs","repos_url":"https://api.github.com/users/lorieri/repos","events_url":"https://api.github.com/users/lorieri/events{/privacy}","received_events_url":"https://api.github.com/users/lorieri/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/distribution/labels/enhancement","name":"enhancement","color":"bfe5bf"},{"url":"https://api.github.com/repos/docker/distribution/labels/group/distribution","name":"group/distribution","color":"ededed"},{"url":"https://api.github.com/repos/docker/distribution/labels/status/1-design-review","name":"status/1-design-review","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"stevvooe","id":120601,"avatar_url":"https://avatars.githubusercontent.com/u/120601?v=3","gravatar_id":"","url":"https://api.github.com/users/stevvooe","html_url":"https://github.com/stevvooe","followers_url":"https://api.github.com/users/stevvooe/followers","following_url":"https://api.github.com/users/stevvooe/following{/other_user}","gists_url":"https://api.github.com/users/stevvooe/gists{/gist_id}","starred_url":"https://api.github.com/users/stevvooe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevvooe/subscriptions","organizations_url":"https://api.github.com/users/stevvooe/orgs","repos_url":"https://api.github.com/users/stevvooe/repos","events_url":"https://api.github.com/users/stevvooe/events{/privacy}","received_events_url":"https://api.github.com/users/stevvooe/received_events","type":"User","site_admin":false},"milestone":null,"comments":16,"created_at":"2015-08-02T02:16:14Z","updated_at":"2015-09-24T21:22:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/distribution/pulls/808","html_url":"https://github.com/docker/distribution/pull/808","diff_url":"https://github.com/docker/distribution/pull/808.diff","patch_url":"https://github.com/docker/distribution/pull/808.patch"},"body":"Support for Ceph Rados Gateway (not librados) and perhaps Riak CS.\r\n\r\nExtra configurations:\r\n\r\n* regionendpoint: api url\r\n* regionsupportshead: old RadosGw versions does not support HEAD for object info\r\n\r\nRequirements:\r\n\r\n* region must be set as **generic**\r\n\r\nHow I tested it:\r\n\r\n```\r\ndocker run -d -p 5000:5000 -e \"REGISTRY_STORAGE=s3\" \\\r\n-e \"REGISTRY_STORAGE_S3_REGION=generic\" \\\r\n-e \"REGISTRY_STORAGE_S3_REGIONENDPOINT=http://myradosgw.mydomain.com\" \\\r\n-e \"REGISTRY_STORAGE_S3_BUCKET=registry\" \\\r\n-e \"REGISTRY_STORAGE_S3_ACCESSKEY=XXXXXXX\" \\\r\n-e \"REGISTRY_STORAGE_S3_SECRETKEY=XXXXXXX\" \\\r\n-e \"REGISTRY_STORAGE_S3_SECURE=false\" \\\r\n-e \"REGISTRY_STORAGE_S3_ENCRYPT=false\" \\\r\n-e \"REGISTRY_STORAGE_S3_REGIONSUPPORTSHEAD=false\" \\\r\ntest-registry\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/distribution/issues/comments/143054495","html_url":"https://github.com/docker/distribution/pull/808#issuecomment-143054495","issue_url":"https://api.github.com/repos/docker/distribution/issues/808","id":143054495,"user":{"login":"lorieri","id":1039009,"avatar_url":"https://avatars.githubusercontent.com/u/1039009?v=3","gravatar_id":"","url":"https://api.github.com/users/lorieri","html_url":"https://github.com/lorieri","followers_url":"https://api.github.com/users/lorieri/followers","following_url":"https://api.github.com/users/lorieri/following{/other_user}","gists_url":"https://api.github.com/users/lorieri/gists{/gist_id}","starred_url":"https://api.github.com/users/lorieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorieri/subscriptions","organizations_url":"https://api.github.com/users/lorieri/orgs","repos_url":"https://api.github.com/users/lorieri/repos","events_url":"https://api.github.com/users/lorieri/events{/privacy}","received_events_url":"https://api.github.com/users/lorieri/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T21:22:55Z","updated_at":"2015-09-24T21:22:55Z","body":"worked in my tests\r\n\r\n```\r\ndocker run --name registry -d \\\r\n-e \"REGISTRY_STORAGE=s3\" \\\r\n-e \"REGISTRY_STORAGE_S3_REGION=generic\" \\\r\n-e \"REGISTRY_STORAGE_S3_ACCES=DEQP0ZDGZUUXVGTEOGD1\" \\\r\n-e \"REGISTRY_STORAGE_S3_SECRETKEY=XxXxXxXxXx\" \\\r\n-e \"REGISTRY_STORAGE_S3_BUCKET=registry\" \\\r\n-e \"REGISTRY_STORAGE_S3_REGIONENDPOINT=http://xxxxxxxxx\" \\\r\n-e \"REGISTRY_STORAGE_S3_SECURE=false\" \\\r\n-e \"REGISTRY_STORAGE_S3_ENCRYPT=false\" \\\r\n-e \"REGISTRY_STORAGE_S3_REGIONSUPPORTSHEAD=false\"  \\\r\nlocal-distribution\r\n```"}}