docker登錄私庫時(shí)提示?x509: certificate signed by unknown authority
打開daemon.json
sudo vi /etc/docker/daemon.json
加入insecure-registries
{?
? "insecure-registries":["私庫地址"]
}
重啟docker
sudo systemctl restart docker
重新登錄即可
docker login 私庫地址 -u 用戶名 -p 密碼