Error response from daemon:TLS handshake timeout on docker

555 views Asked by At

I installed Docker on Windows Server 2019 using the following commands

Install-Module -Name DockerMsftProvider -Repository PSGallery -Force Install-Package -Name docker -ProviderName DockerMsftProvider Start-Service Docker To Running Linux containers on Windows Server 2019 Uninstall-Package -Name docker -ProviderName DockerMSFTProvider [Environment]::SetEnvironmentVariable("LCOW_SUPPORTED", "$null", "Machine") Install-Module DockerProvider Install-Package Docker -ProviderName DockerProvider -RequiredVersion preview [Environment]::SetEnvironmentVariable("LCOW_SUPPORTED", "1", "Machine") Restart-Service docker

I encountered this error when I tried to pull an image or log in to Docker Hub Error response from daemon:TLS handshake timeout I would appreciate it if someone could help me

I searched for this error and did not get a definite answer

1

There are 1 answers

1
Mojtaba Ahadi On

There is no problem in your installation. Internet in Iran has been disrupted since 2 months ago and for many websites TLS handshake has been disrupted.

To fix this you need to use vpn or use shecan.ir as your dns.