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?
Does this also happen to you when doing the pull manually? docker pull docker.io/library/solr:9.4.1
If that doesn't work, I recommend to use docker login before starting to pull materials and try again
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.
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.
Oliver Bertuch has marked this topic as resolved.
Last updated: Oct 30 2025 at 05:14 UTC