You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :-
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\))
The text was updated successfully, but these errors were encountered: