Hey I am quite new to docker and am having issues when pulling images from dockerhub. I always get the error message:
Error response from daemon: Head "https://registry-1.docker.io/v2/library/python/manifests/latest": unauthorized: incorrect username or password
My response from https://registry-1.docker.io/v2/library/python/manifests/latest:
{
"errors": [
{
"code": "UNAUTHORIZED",
"message": "authentication required",
"detail": [
{
"Type": "repository",
"Class": "",
"Name": "library/python",
"Action": "pull"
}
]
}
]
}
I am using a windows machine with docker desktop and am logged in to the same account I am using to write this post.
Here’s what I already tried:
- Update docker desktop
- Logout and login
- Restarting my device
I also tried asking the built in AI this and it also recommended forgetting and creating a new password, but when I looked at the article it linked, it was just on how to sign up using linux, so I think it might have been hallucinating. Not that I won’t do it if someone confirms it works, but I am not going to forget my password for nothing.