Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Login Issue #82

Open
abhishek4794 opened this issue Jun 22, 2017 · 0 comments
Open

Docker Login Issue #82

abhishek4794 opened this issue Jun 22, 2017 · 0 comments

Comments

@abhishek4794
Copy link

I have set up repository succesfully then I created one test user and gave him write-all rights through UI.
But whenever I am trying to login into my registry(localhost:5000) it is giving following error.
docker login localhost:5000
Username (test): test
Password: test
Error response from daemon: Get http://localhost:5000/v2/: unauthorized: authentication required

And in docker container logs I can see these logs :-

registry_1 | time="2017-06-22T12:51:58.925416636Z" level=debug msg="authorizing request" go.version=go1.6.2 http.request.host="localhost:5000" http.request.id=9956019b-c166-4ef8-95b8-12030716b684 http.request.method=GET http.request.remoteaddr="172.24.0.1:56248" http.request.uri="/v2/" http.request.useragent="docker/17.03.1-ce go/go1.7.5 git-commit/c6d412e kernel/4.2.0-30-generic os/linux arch/amd64 UpstreamClient(Docker-Client/17.03.1-ce \(linux\))" instance.id=188516bc-c256-4c8b-8def-e06a03304e71 version=v2.4.1
registry_1 | time="2017-06-22T12:51:58.925499722Z" level=warning msg="error authorizing context: authorization token required" go.version=go1.6.2 http.request.host="localhost:5000" http.request.id=9956019b-c166-4ef8-95b8-12030716b684 http.request.method=GET http.request.remoteaddr="172.24.0.1:56248" http.request.uri="/v2/" http.request.useragent="docker/17.03.1-ce go/go1.7.5 git-commit/c6d412e kernel/4.2.0-30-generic os/linux arch/amd64 UpstreamClient(Docker-Client/17.03.1-ce \(linux\))" instance.id=188516bc-c256-4c8b-8def-e06a03304e71 version=v2.4.1
registry_1 | 172.24.0.1 - - [22/Jun/2017:12:51:58 +0000] "GET /v2/ HTTP/1.1" 401 87 "" "docker/17.03.1-ce go/go1.7.5 git-commit/c6d412e kernel/4.2.0-30-generic os/linux arch/amd64 UpstreamClient(Docker-Client/17.03.1-ce \(linux\))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant