Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.

OAuth user can not authenticate via docker cli. #43

Open
YunSangJun opened this issue Apr 17, 2018 · 2 comments
Open

OAuth user can not authenticate via docker cli. #43

YunSangJun opened this issue Apr 17, 2018 · 2 comments

Comments

@YunSangJun
Copy link

I used gitlab OAuth.
Login to dashboard works successfully, but OAuth user can not authenticate via docker cli.

001

002

@stefsuse
Copy link
Contributor

What is the error you get after "docker login"?
If this is an insecure registry also remember to add it to /etc/docker/daemon.json

@YunSangJun
Copy link
Author

I already add the insecure registry address to /etc/docker/daemon.json.

User ID(yunsangjun) that create by OAuth can not login via docker cli.
User ID(demo) that created by Portus dashboard can login via docker cli.

sangjunyun:portus sangjunyun$ docker login http://portus-zcp.ghama.io:80
Username (Silly): yunsangjun
Password: 
Error response from daemon: Get http://portus-zcp.ghama.io:80/v2/: unauthorized: authentication required

sangjunyun:portus sangjunyun$ docker login http://portus-zcp.ghama.io:80
Username (Silly): demo
Password: 
Login Succeeded
sangjunyun:portus sangjunyun$

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

No branches or pull requests

2 participants