Stream: containers

Topic: ✔ Receiving error in docker "Unable to pull 'solr:9.4.1'"


view this post on Zulip Omer M Fahim (Oct 01 2024 at 13:57):

Hello! When I run `mvn -Pct clean package docker:run I am receiving the following error:

[ERROR] DOCKER> Unable to pull 'solr:9.4.1' : {"message":"failed to resolve reference \"docker.io/library/solr:9.4.1\": failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://auth.docker.io/token?scope=repository%3Alibrary%2Fsolr%3Apull&service=registry.docker.io: 401 Unauthorized"} (Internal Server Error: 500) [{"message":"failed to resolve reference \"docker.io/library/solr:9.4.1\": failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://auth.docker.io/token?scope=repository%3Alibrary%2Fsolr%3Apull&service=registry.docker.io: 401 Unauthorized"} (Internal Server Error: 500)]

Has anyone come across this issue and know how to get past this?

view this post on Zulip Oliver Bertuch (Oct 01 2024 at 14:09):

Does this also happen to you when doing the pull manually? docker pull docker.io/library/solr:9.4.1

view this post on Zulip Oliver Bertuch (Oct 01 2024 at 14:09):

If that doesn't work, I recommend to use docker login before starting to pull materials and try again

view this post on Zulip Omer M Fahim (Oct 01 2024 at 15:34):

when executing the pull manually I receive a similar error:

View a summary of image vulnerabilities and recommendations → docker scout quickview docker.io/library/solr:9.4.1

Error response from daemon: failed to resolve reference "docker.io/library/solr:9.4.1": failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://auth.docker.io/token?scope=repository%3Alibrary%2Fsolr%3Apull&service=registry.docker.io: 401 Unauthorized

Also, I was logged in to the account.

view this post on Zulip Omer M Fahim (Oct 02 2024 at 16:33):

I was able to resolve this issue. Essentially what I did was uninstall Docker Desktop, install latest version, and signing out of my docker account.

view this post on Zulip Notification Bot (Oct 03 2024 at 08:47):

Oliver Bertuch has marked this topic as resolved.


Last updated: Oct 30 2025 at 05:14 UTC