The docker account is divided into two parts, one is email and the other is dockerID.
Use the following command to log in:
docker login
userName: fill in dockerId, not email.
dockerId, you can log in to the dockerHub official website and view it in the account details.
Remark:
docker login, after the login is successful, the problem of the pull image permission error can be solved.