【笔记】Docker命令行登录

前言

Docker命令行登录

正文

1
docker login
1
2
3
4
5
6
7
8
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username:
Password:
WARNING! Your password will be stored unencrypted in ~/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

命令行退出

1
docker logout

完成

参考文献

stackoverflow——yamenk
stackoverflow——Neela