docker pull net/http: TLS handshake timeout错误解决

时间:2023-03-10 03:42:05
docker pull  net/http: TLS handshake timeout错误解决

docker pull  net/http: TLS handshake timeout  出现这个错误,原因很明显,我们在围城里,有两种解决办法,一种是用*爬围墙,一种是用国内源,下面用国内源

echo "DOCKER_OPTS=\"\$DOCKER_OPTS --registry-mirror=http://f2d6cb40.m.daocloud.io\"" | sudo tee -a /etc/default/docker