其他分享
首页 > 其他分享> > docker pull x509:certificate signed by unknown authority

docker pull x509:certificate signed by unknown authority

作者:互联网

从私有仓库拉取镜像时报错:

docker pull x509:certificate signed by unknown authority

解决方案:

1、登陆私有仓库服务器,进入/etc/docker/certs.d/目录下,找到ca.crt证书

2、将该证书拷贝一份到目标主机(即使用docker pull主机)上,并放在/etc/docker/certs.d/下

3、重启docker服务,systemctl restart docker

4、登陆该私有仓库docker login *******,输入用户名密码后,登陆成功便可以使用docker pull拉取镜像

标签:pull,certificate,x509,authority,私有,certs,docker
来源: https://blog.csdn.net/wade3015/article/details/95331558