{"action":"created","issue":{"url":"https://api.github.com/repos/docker/distribution/issues/397","labels_url":"https://api.github.com/repos/docker/distribution/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/docker/distribution/issues/397/comments","events_url":"https://api.github.com/repos/docker/distribution/issues/397/events","html_url":"https://github.com/docker/distribution/issues/397","id":69537776,"number":397,"title":"Authentication still available in Registry 2.0.0 ?","user":{"login":"hgomez","id":274370,"avatar_url":"https://avatars.githubusercontent.com/u/274370?v=3","gravatar_id":"","url":"https://api.github.com/users/hgomez","html_url":"https://github.com/hgomez","followers_url":"https://api.github.com/users/hgomez/followers","following_url":"https://api.github.com/users/hgomez/following{/other_user}","gists_url":"https://api.github.com/users/hgomez/gists{/gist_id}","starred_url":"https://api.github.com/users/hgomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgomez/subscriptions","organizations_url":"https://api.github.com/users/hgomez/orgs","repos_url":"https://api.github.com/users/hgomez/repos","events_url":"https://api.github.com/users/hgomez/events{/privacy}","received_events_url":"https://api.github.com/users/hgomez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/distribution/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/docker/distribution/labels/documentation","name":"documentation","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":34,"created_at":"2015-04-20T08:42:48Z","updated_at":"2015-04-23T15:11:53Z","closed_at":null,"body":"Hi all,\r\n\r\nI'm using Registry 0.9.1 with HTTPd or NGinx in front to handle authentication.\r\n\r\nI tried Registry 2.0.0 with docker 1.6.0 but docker client (or registry) didn't works well and client fall back to v1 \r\n\r\n    1.2.3.203 - - [17/Apr/2015:15:41:07 +0200] \"GET /v2/ HTTP/1.1\" 401 1233 \"-\" \"docker/1.6.0 go/go1.4.2 git-commit/4749651 kernel/3.13.0-37-generic os/linux arch/amd64\"\r\n    1.2.3.203 - - [17/Apr/2015:15:41:07 +0200] \"GET /v1/_ping HTTP/1.1\" 200 1541 \"-\" \"docker/1.6.0 go/go1.4.2 git-commit/4749651 kernel/3.13.0-37-generic os/linux arch/amd64\"\r\n    1.2.3.203 - - [17/Apr/2015:15:41:07 +0200] \"GET /v1/_ping HTTP/1.1\" 200 1541 \"-\" \"docker/1.6.0 go/go1.4.2 git-commit/4749651 kernel/3.13.0-37-generic os/linux arch/amd64\"\r\n    1.2.3.203 - my-deployer [17/Apr/2015:15:41:07 +0200] \"PUT /v1/repositories/teama1/teama-java5/ HTTP/1.1\" 200 2 \"-\" \"docker/1.6.0 go/go1.4.2 git-commit/4749651 kernel/3.13.0-37-generic os/linux arch/amd64\"\r\n    1.2.3.203 - my-deployer [17/Apr/2015:15:41:07 +0200] \"GET /v1/images/4f903438061c7180cf99485b42f7709f5268bfb4732fe885f9104ed3bb66fd3c/json HTTP/1.1\" 200 1510 \"-\" \"docker/1.6.0 go/go1.4.2 git-commit/4749651 kernel/3.13.0-37-generic os/linux arch/amd64\"\r\n\r\nWhen I remove Authentication requirement on HTTPd front side, all operations works in /v2/\r\n\r\nNginx/Compose sample don't show authentication anymore too.\r\n\r\nDid Registry 2.0.0 support authentication schemes ?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/docker/distribution/issues/comments/95620477","html_url":"https://github.com/docker/distribution/issues/397#issuecomment-95620477","issue_url":"https://api.github.com/repos/docker/distribution/issues/397","id":95620477,"user":{"login":"hgomez","id":274370,"avatar_url":"https://avatars.githubusercontent.com/u/274370?v=3","gravatar_id":"","url":"https://api.github.com/users/hgomez","html_url":"https://github.com/hgomez","followers_url":"https://api.github.com/users/hgomez/followers","following_url":"https://api.github.com/users/hgomez/following{/other_user}","gists_url":"https://api.github.com/users/hgomez/gists{/gist_id}","starred_url":"https://api.github.com/users/hgomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgomez/subscriptions","organizations_url":"https://api.github.com/users/hgomez/orgs","repos_url":"https://api.github.com/users/hgomez/repos","events_url":"https://api.github.com/users/hgomez/events{/privacy}","received_events_url":"https://api.github.com/users/hgomez/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T15:11:52Z","updated_at":"2015-04-23T15:11:52Z","body":"Oups, right out and in required"}}