(HTTP code 500) server error - error from registry: failed to resolve reference “docker.io/docker/welcome-to-docker:latest”: failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://auth.docker.io/token?scope=repository%3Adocker%2Fwelcome-to-docker%3Apull&service=registry.docker.io: 401 Unauthorized
If you are logged in, try logging out. If you are logged out, try logging in, and you can log out after that. There is a known issue with some auth tokens, but you don’t need to be logged in to access those images so you can log out even before pulling the image. Logging in or out can trigger a process that updates the required tokens.
Please, let us know if that helped.
I fixed the issue by deleting all my personal access tokens, logging out, then logging in (which creates a new one).