Tag Archives: “https://registry-1.docker.io/v2/: net/http: TLS handshake timeout”

[Solved] Error in docker pull down image“ https://registry-1.docker.io/v2/ : Net / http: TLS handle timeout “how to handle?

Error in docker pull down image“ https://registry-1.docker.io/v2/ : Net / http: TLS handle timeout “how to handle?

Solution:

1. Add the following to the file /etc/default/docker:

DOCKER_OPTS=”–insecure-registry $DOCKER_OPTS –insecure-registry registry.mirrors.aliyuncs.com”

2. restart the docker service

$ sudo systemctl restart docker