【Docker】unauthorized: incorrect username or password


昨天朋友推荐玩玩 Docker。虽然之前就听过,但一直不清楚干嘛的,也没去搞过,虽然前段时间就装了,但一直没打开。这两天刚开始熟悉,就遇到了点小问题。一番 Google 之后解决了,记录一下。

CLI (command-line interface, 命令行界面) 使用

docker pull centos

命令时报了该错误,详情:

Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/library/centos/manifests/latest: unauthorized: incorrect username or password

解决方法:
命令行输入 docker login,使用 docker ID

参考:
https://github.com/docker/hub-feedback/issues/630
https://github.com/docker/hub-feedback/issues/935


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM