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
Required to login to pull public images? #1103
Comments
I started seeing this a couple of days ago too, but not for all images, and just for some tags on some images. For example, I could use |
Had a similar issue halfway through today (pulled several times fine and then all of a sudden...)
I had to |
Same here. This is really annoying, especially with skopeo which just get stuck in this case. |
Hi - to help us troubleshoot, can you share your Docker version? |
It was with skopeo and it got stuck on this layer. I saw a 401 in debug mode. Thanks for the feedback. |
Just got this same issue:
|
I have to login for every pull at the moment for some reason? It seemed to start when I changed my dockerhub password.. |
Same
|
A docker login fixes it... But wonder why you have to login to pull public images |
For me the problem was that I had an (apparently expired) authentication token in my |
@adewes thanks for the info, I suspect that's what happens in my case the authentication token was not longer valid. I apologize for repetition but why do you need a valid auth token to pull a public image that does not require authentication? |
@ericcurtin you don't need a valid auth token to pull a public image, but if the Docker client finds an auth token it will probably use it to pull images as I think it can't distinguish between a public and a non-public image on Dockerhub based on the image name/path alone. You could configure the Docker client to not automatically use a credential from your home directory (https://docs.docker.com/engine/reference/commandline/login/#privileged-user-requirement), by default it seems that it will always use it though when available. |
just curious why do docker need login and account info? is this required for CE edition or open source project? |
A quick way to remove the old credential is to run |
The same problem still occurs in November 2018 on version 18.09.0. Edit: Configuring a proxy for the Docker daemon solved the issue for me, as stated at community.ubnt.com. |
Changed the password for docker hub but the cli still cant access the public images. I tried restarting docker app on windows but still no luck. I new password works on docker hub but not on docker login Frustrating...! |
It worked later when I used docker id as username and not email |
Whether or not logged in, it won't let me pull a public Python image. |
@DMCHatRally try login with docker username and not email |
I am running into the same issue. |
Same here
On a pull of a public image ... |
I just noticed that if I use "centos7" I get the login error, but "centos:7" works fine. Just in case someone else runs into this same issue. |
As this issue still is open (although a solution has been posted, thank you @adewes), could I suggest adding a fallback, so public images can still be pulled even with an expired auth token? |
We are clearing up our old issues and your ticket has been open for 6 months with no activity. Remove stale label or comment or this will be closed in 15 days. |
This is still an issue |
I've since moved to podman and quay.io, having great joy! 😄 |
Why is it that I am required to login to pull a public image, for example:
I have never had to do this before.
The text was updated successfully, but these errors were encountered: