docker login harbor x509: certificate signed by unknown authority
前言
docker login harbor x509: certificate signed by unknown authority
解决
打开 /etc/docker/daemon.json
,如果没有这个文件新增即可
vim /etc/docker/daemon.json
加入 insecure-registries
{
"insecure-registries":["harbor.xxxx.com:1111"]
}
重启 docker
sudo systemctl docker
重新登录即可
docker login harbor.xxxx.com:1111