{"action":"created","issue":{"url":"https://api.github.com/repos/docker/distribution/issues/826","labels_url":"https://api.github.com/repos/docker/distribution/issues/826/labels{/name}","comments_url":"https://api.github.com/repos/docker/distribution/issues/826/comments","events_url":"https://api.github.com/repos/docker/distribution/issues/826/events","html_url":"https://github.com/docker/distribution/issues/826","id":99437351,"number":826,"title":"Not able to run registry:2 on CoreOS alpha 752.1","user":{"login":"mindnuts","id":8411896,"avatar_url":"https://avatars.githubusercontent.com/u/8411896?v=3","gravatar_id":"","url":"https://api.github.com/users/mindnuts","html_url":"https://github.com/mindnuts","followers_url":"https://api.github.com/users/mindnuts/followers","following_url":"https://api.github.com/users/mindnuts/following{/other_user}","gists_url":"https://api.github.com/users/mindnuts/gists{/gist_id}","starred_url":"https://api.github.com/users/mindnuts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindnuts/subscriptions","organizations_url":"https://api.github.com/users/mindnuts/orgs","repos_url":"https://api.github.com/users/mindnuts/repos","events_url":"https://api.github.com/users/mindnuts/events{/privacy}","received_events_url":"https://api.github.com/users/mindnuts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-08-06T13:45:39Z","updated_at":"2015-08-10T12:30:10Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to run registry V2 on CoreOS.\r\n\r\n```sh\r\n$ docker -v\r\nDocker version 1.7.1, build 786b29d-dirty\r\n```\r\n\r\n I launch the service on cli like this:\r\n\r\n```sh\r\n$ docker run --name docker-registry -d -p 5000:5000 -e \"REGISTRY_STORAGE=s3\" -e \"REGISTRY_STORAGE_S3_REGION=eu-west-1\" -e \"REGISTRY_STORAGE_S3_BUCKET=docker-repo\" -e \"REGISTRY_STORAGE_S3_ACCESSKEY=xxx\" -e \"REGISTRY_STORAGE_S3_SECRETKEY=xxx\"  registry:2    \r\n```\r\nWhen i inspect the list of containers, i see this container has crashed\r\n\r\n```sh\r\n$ docker ps -a\r\nCONTAINER ID        IMAGE                       COMMAND                CREATED             STATUS                     PORTS               NAMES\r\n7f9a52d07c04        registry:2                  \"registry cmd/regist   4 seconds ago       Exited (2) 2 seconds ago                       docker-registry     \r\n52ecae119b1b        xx/abc   \"node /src/src/index   2 hours ago         Up 2 hours                                     abc-connect      \r\n\r\n```\r\n\r\nAnd the logs from the container:\r\n```sh\r\n$ docker logs 7f9a52d07c04\r\npanic: Access Denied\r\n\r\ngoroutine 1 [running]:\r\ngithub.com/docker/distribution/registry/handlers.NewApp(0x7fa0bfa55a90, 0xc2080c1890, 0xc20802b9d0, 0x3, 0xc20802ba08, 0x5, 0x0, 0x0, 0xc2080c0480, 0xa5e630, ...)\r\n\t/go/src/github.com/docker/distribution/registry/handlers/app.go:81 +0x5eb\r\nmain.main()\r\n\t/go/src/github.com/docker/distribution/cmd/registry/main.go:62 +0x439\r\n\r\ngoroutine 6 [syscall]:\r\nos/signal.loop()\r\n\t/usr/src/go/src/os/signal/signal_unix.go:21 +0x1f\r\ncreated by os/signal.init·1\r\n\t/usr/src/go/src/os/signal/signal_unix.go:27 +0x35\r\n\r\ngoroutine 10 [runnable]:\r\nnet/http.(*persistConn).readLoop(0xc2080a7c30)\r\n\t/usr/src/go/src/net/http/transport.go:928 +0x9ce\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/src/go/src/net/http/transport.go:660 +0xc9f\r\n\r\ngoroutine 17 [syscall, locked to thread]:\r\nruntime.goexit()\r\n\t/usr/src/go/src/runtime/asm_amd64.s:2232 +0x1\r\n\r\ngoroutine 11 [select]:\r\nnet/http.(*persistConn).writeLoop(0xc2080a7c30)\r\n\t/usr/src/go/src/net/http/transport.go:945 +0x41d\r\ncreated by net/http.(*Transport).dialConn\r\n\t/usr/src/go/src/net/http/transport.go:661 +0xcbc\r\n\r\n```\r\n\r\nNot sure what is that i am doing wrong. I tried to search similar for issues on google but nothing was found. Can someone please help me?\r\n\r\nRegards\r\nM"},"comment":{"url":"https://api.github.com/repos/docker/distribution/issues/comments/129427045","html_url":"https://github.com/docker/distribution/issues/826#issuecomment-129427045","issue_url":"https://api.github.com/repos/docker/distribution/issues/826","id":129427045,"user":{"login":"mindnuts","id":8411896,"avatar_url":"https://avatars.githubusercontent.com/u/8411896?v=3","gravatar_id":"","url":"https://api.github.com/users/mindnuts","html_url":"https://github.com/mindnuts","followers_url":"https://api.github.com/users/mindnuts/followers","following_url":"https://api.github.com/users/mindnuts/following{/other_user}","gists_url":"https://api.github.com/users/mindnuts/gists{/gist_id}","starred_url":"https://api.github.com/users/mindnuts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindnuts/subscriptions","organizations_url":"https://api.github.com/users/mindnuts/orgs","repos_url":"https://api.github.com/users/mindnuts/repos","events_url":"https://api.github.com/users/mindnuts/events{/privacy}","received_events_url":"https://api.github.com/users/mindnuts/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T12:30:10Z","updated_at":"2015-08-10T12:30:10Z","body":"@dmp42 update, I tried the tag \"registry:2.0.1\" and it seems to be working :+1: \r\n\r\nnot sure why registry:2 did not work. Anyways i would close this bug pending any other issue."}}