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

denied: requested access to the resource is denied #154

Open
1195374163 opened this issue Jul 7, 2019 · 6 comments
Open

denied: requested access to the resource is denied #154

1195374163 opened this issue Jul 7, 2019 · 6 comments

Comments

@1195374163
Copy link

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.

@liaolinrong
Copy link

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

@china-qd
Copy link

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

@svdHero
Copy link

svdHero commented Nov 19, 2020

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

@sputnick1124
Copy link

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

@lyz-code
Copy link

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 added a commit to lyz-code/blue-book that referenced this issue May 14, 2021
```bash
pass show dockerhub | docker login --username foo --password-stdin
```

feat(docker): explain how not to store the credentials in plaintext

It doesn't work, don't go this painful road and assume that docker is broken.

The official steps are horrible, and once you've spent two hours debugging
them, you [won't be able to push or pull images with your
user](docker/docker-credential-helpers#154).

feat(fastapi#Deploy with Docker): explain how to deploy it using Docker

feat(fastapi#logging): explain how to show logging messages in the logs
@HiGein
Copy link

HiGein commented Feb 28, 2023

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

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

7 participants