1
votes

When running

docker login hub.docker.com
Username: bheng
Password: **********

I kept getting

Error response from daemon: login attempt to https://hub.docker.com/v2/ failed with status: 404 Not Found

How do I know what is my username ?

I can log in into my docker hub fine with the same credentials.

enter image description here

I've tried almost every combinations

enter image description here

1

1 Answers

2
votes

Yes, your login is bheng, but hub.docker.com([SERVER]) is wrong. Correct server is index.docker.io. Actually, it is default server, so you don't need to specify, so just use the simple command:

docker login