Open YunSangJun opened 6 years ago
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
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$
I used gitlab OAuth. Login to dashboard works successfully, but OAuth user can not authenticate via docker cli.