KubeSphere添加Harbor镜像仓库秘钥失败解决方法

tech2023-01-18  118

镜像仓库校验失败 Error response from daemon: Get https://172.16.10.126/v2/: read tcp 172.16.10.203:50430->172.16.10.126:443: read: connection reset by peer

解决方案

添加时使用http,具体https切换http设置,查看之前的博客,https://blog.csdn.net/wenyichuan/article/details/107512293 如在命令行中登录

docker login http://172.16.10.126:80

若还不行则去修改docker文件,若不存在则新建此文件

vi /etc/docker/daemon.json

添加内容

{ "insecure-registries" : {"172.16.10.72:80","172.16.10.126:80"} }
最新回复(0)