k8s报错x509: certificate signed by unknown authority
[root@master harbor]# docker loginhttps://hub.bosssoft.comUsername: adminPassword:Error response from daemon: Gethttps://hub.bosssoft.com/v2/: x509: certificate signed by unknown authority修改这个可以解决上面的报
·
[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
修改成私有仓库的域名
hosts文件中也要写上
更多推荐
已为社区贡献2条内容
所有评论(0)