Linux终端登录和退出Dockerhub
# 之前已经登录了,现在退出[root@compute ~]# docker logoutRemoving login credentials for https://index.docker.io/v1/# 再次登录[root@compute ~]# docker loginLogin with your Docker ID to push and pull images from Docker
·
# 之前已经登录了,现在退出
[root@compute ~]# docker logout
Removing login credentials for https://index.docker.io/v1/
# 再次登录
[root@compute ~]# docker login
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: dockerhublzb
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
更多推荐
所有评论(0)