docker-credential-helpers icon indicating copy to clipboard operation
docker-credential-helpers copied to clipboard

denied: requested access to the resource is denied

Open 1195374163 opened this issue 5 years ago • 6 comments

after using pass to manage my docker password ,I meet a problem : push can not succeed. The error message is "denied: requested access to the resource is denied". I guess because of pass,the docker can not read authentication infomation . I use another computer without pass can push successful.

1195374163 avatar Jul 07 '19 03:07 1195374163

I also encountered this problem. I use pass in centos7.3

liaolinrong avatar Jul 16 '19 07:07 liaolinrong

me too... centos7.6 pass: make install password-store-1.7.3

china-qd avatar Jul 30 '20 06:07 china-qd

Same problem here on Ubuntu Server 20.04 LTS with pass 1.7.3.

svdHero avatar Nov 19 '20 14:11 svdHero

I ran into this today as well. I found the workaround posted in this comment to use the fully qualified URI for login worked for me.

EX: docker login http://docker.io.mydomain:8088 instead of docker login docker.io.mydomain:8088

sputnick1124 avatar Mar 23 '21 20:03 sputnick1124

I've managed to make it work if I use the root user and use export GPG_TTY=$(tty).

But not with a non-root user that belongs to the docker group. It's clear that docker-credential-pass is badly broken from installation to usage. Don't use it...

lyz-code avatar May 14 '21 16:05 lyz-code

Having the same issue. Using root is not possible for the current setup.

HiGein avatar Feb 28 '23 14:02 HiGein