Docker: net/http: TLS handshake timeout

使用 Drone 做 CICD 时提示 net/http: TLS handshake timeout, 如何解决? 配置镜像加速器即可 # ubuntu/centos sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": ["http://f1361db2.m.daocloud.io"] } EOF sudo systemctl daemon-reload sudo systemctl restart docker Refer: DaoCloud 镜像站 阿里云容器镜像服务

August 1, 2019 · 1 min · K8sCat