[root@master harbor]# docker login https://hub.bosssoft.com
Username: admin
Password:
Error response from daemon: Get https://hub.bosssoft.com/v2/: x509: certificate signed by unknown authority
修改这个可以解决上面的报错
/usr/lib/systemd/system/docker.service
ExecStart=/usr/bin/dockerd --insecure-registry hub.bosssoft.com
k8s报错x509: certificate signed by unknown authority
修改成私有仓库的域名
hosts文件中也要写上

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐