首页 > 解决方案 > 为什么 docker login 不能使用正确的凭据?

问题描述

我正在尝试在 linux 机器上进行 docker 登录。我正在使用我的 docker hub 用户名“undrewb”和用于登录 hub.docker.com 的密码。为什么这不起作用?我没有登录 GUI,docker logout 告诉我我没有登录。

drewb@workbox:~$ sudo 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: undrewb
Password: 
Error response from daemon: Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password

标签: docker

解决方案


出于某种原因,在 dockerhub 上更改我的密码允许我继续。


推荐阅读