dockerfile构建镜像报错如下:
error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/47/470671670cac686c7cf0081e0b37da2e9f4f768ddc5f6a26102ccd1c6954c1ee/data?verify=1590549712-JZjnsGFp2gdDdQT4yKAiAsXxQ78%3D: dial tcp 104.18.121.25:443: i/o timeout
解决方法:
echo “nameserver 8.8.8.8” >>/etc/resolv.conf
重启docker
再执行build即可成功。