【docker】拉取镜像报证书错误:error pulling image configuration: download failed after attempts=6: tls: failed t
【代码】【docker】拉取镜像报证书错误:error pulling image configuration: download failed after attempts=6: tls: failed t。
·
在使用docker时,采用阿里云镜像源时会出现pull失败情况:
解决办法:
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://yxzrazem.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
更多推荐
已为社区贡献1条内容
所有评论(0)