我刚刚开始码头工作.我按照这里指定的说明https://docs.docker.com/windows/step_one/
我在Windows 10和Windows上安装了docker(1.10.2)跑坞码头运行你好世界.但是,我正在收到一个身份验证错误,而教程没有提到任何关于它.
这是我收到的消息.
$docker run hello-world
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Authentication is required: Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: unauthorized: incorrect username or password.
See 'C:\Program Files\Docker ToolBox\docker.exe run --help'.
我搜索了google&在这里,但找不到类似于此错误消息的任何东西.
谢谢!
当您运行任何其他docker命令时,请首次运行docker登录.
原文链接:https://www.f2er.com/docker/437029.htmlYou can log into any public or private repository for which you have credentials. When you log in,the command stores encoded credentials in
$HOME/.docker/config.json
on Linux or%USERPROFILE%/.docker/config.json
on Windows.