-
Notifications
You must be signed in to change notification settings - Fork 165
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
docker login Succeeded, docker pull failed #158
Comments
I have been encountering the same issue for the past few days, I still can't figure out why. |
does your GPG key have a passphrase? if so, can you try doing this first:
|
The same issue for me. @maxthomas workaround with
not working on Ubuntu 18.04. It starts after my GPG key expired. I've updated it in pass configuration and removed all stored data, but it still login success, but can't pull images.
|
Have the same problem, the workaround works, but not in all cases which I need |
@allertec Is there any workaround for this? I am facing the same issue and I have tried all the credsStore but nothing seems to be working. Login is success but pull fails. |
@fttriquet Did you figure out the solutions to this? |
@vindubeyama nope, there is no workaound yet, however I have been using version 0.6.3, maybe using some old one will work, as you can see that some people around the internet are actually using it fine. For me the only workaround is to keep password as a environment variable, and then use it when pulling something :/ |
Same issue for me on 19.03.5 |
it worked for me after run apt-get update . |
Login successful, pull access denied. Using repository.gitlab Original text: Same issue here. Using gitlabs docker registry.
Docker running on ubuntu:
Running as snap. So just in case you need it:
|
This is still an active issue, it completely prevents us of using this provider |
Experiencing same - similar issue. Docker login to Gitlab registry works fine, push to same fails, Access Denied. Traced my issue to docker-credentials-helper and 'pass' package.. I had installed them because of warning message; BUT with the credential helper installed, I cannot push to Gitlab registry.. When I disabled and removed "apt remove golang-docker-credential-helpers pass" Now I can successfully push to the registry.. Which makes me wonder if Docker version 19.03.2, build 6a30dfc is storing the password in the credential helper, but its not retrieving it? Also tried this on Docker version 19.03.8, build afacb8b7f0 - same issue. |
This trick works on my Ubuntu 18.04 LTS. |
This still exists in I was able to resolve this by changing my credentials-store in docker config. Also, had to reinstall docker-credentials-helper. docker logout and docker login. |
if you are using "hub.docker.com" make sure to have enough private docker repository in your docker hub account. |
I have a similar issue as @scott-dunt . With docker-credentials-helpers and This is when trying to access an on-premise Harbor container registry (no hub.docker.com). I first suspected Harbor and opened an Issue with them (goharbor/harbor#13553), but then I noticed that once I uninstall What's the matter here? |
This solved it for me on ubuntu |
I encounter the issue on Amazon Linux 2. Does someone have solution for it? |
Ok I fixed it with uninstalling everything including docker (don't forget /etc/docker folder) removing all the associated data that harbor created and the reinstalling everything |
This works for me. I get pull rate limit error when pulling images from docker hub, even after login. But this workaround works for me. |
I still get this error on Windows. I can login Successfully and the when I inspect the docker/config.json I see the Auths object but no password within it. |
FWIW, changing credentials to a new PAT did the trick for me. |
same here. Docker version 20.10.21 cannot pull. but docker 20.10.17 can. Not sure what happens. login normally |
I still get the same error on windows. even tried with PAT as well but not help |
okay if someone meets this bug in WSL. try to remove |
Similar issue. Docker login to private harbor registry works fine, but push encounter error: unauthorized. My environment:
I noticed that the |
The problem has been solved. Please refer to: #192 |
Here's how to check which credsStore you're using: If you're using
If it then prompts you for a password, your GPG key requires a password. When using |
I had a problem that docker login succeeded, but accessing private repo failed. |
Still encountering the same issue with Update: fixed with doing |
I use pass
docker login
Succeeded:but when
docker pull
a private image, is error:/root/.docker/config.json :
os:
docker version:
The text was updated successfully, but these errors were encountered: