【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