EN
docker login - FIX for error - unknown flag: --email (fix for login to docker hub problem)
6
points
Problem:
[root@localhost ~]# docker login --username=my_docker_username --email=my_email@domain.com
unknown flag: --email
See 'docker login --help'.
Solution:
Just login without the --email=my_email@domain.com
[root@localhost ~]# docker login --username=my_docker_username
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded