EN
Docker - login to docker hub from command line (cmd)
6
points
Quick solution:
- docker login
--username=my_docker_username
- Enter your password
- You are logged in to docker hub
Practical example:
[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