docker pull下拉镜像时报错"https://registry-1.docker.io/v2/: net/http: TLS handshake timeout"如何处理?
1. 往文件/etc/default/docker中加入以下内容:
DOCKER_OPTS="--insecure-registry $DOCKER_OPTS --insecure-registry registry.mirrors.aliyuncs.com"
2. 重启docker服务
$ sudo systemctl restart docker