Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: net/http: TLS handshake timeout
Get https://registry-1.docker.io/v2/library/hello-world/manifests/latest: net/http: TLS handshake timeout
或
Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See 'docker run --help'.
解决办法
在 vim /etc/docker/daemon.json 添加镜像
{"registry-mirrors":["https://registry.docker-cn.com","https://pee6w651.mirror.aliyuncs.com"]}
https://registry.docker-cn.com --------> 国内docker官方中国区
https://pee6w651.mirror.aliyuncs.com ---------> 阿里云镜像