is dockerhub username and docker id same code example
Example 1: docker command to login with user name and pass word
$ docker login localhost:8080
Example 2: docker command to login with user name and pass word
$ cat ~/my_password.txt | docker login --username foo --password-stdin