Search code examples
podman

podman login fails with invalid credentials to docker.io


Trying this command

podman login -u [email protected] -p XXX@XXX_XXXXX -v docker.io                                                                                                                                                
Error: error logging into "docker.io": invalid username/password

The same credentials work with logging into docker hub.

podman version used is 4.0.3.

I am running on an MacBook Pro (16-inch, 2021) Apple M1 Max.


Solution

  • I was using my email as the username, which was not correct. I needed to use my "username". But since the portal allows me to login with my email, I thought that was my 'username'.