Docker Hub : Unable to pull container: "connection reset by peer"

Hi !

When I try to pull a container, I get an error “connection reset by peer”

 docker pull hello-world
Using default tag: latest
Error response from daemon: Head "": read tcp> read: connection reset by peer

When I curl the , I get UNAUTHORIZED error :

{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"library/hello-world","Action":"pull"}]}]}

When I search on Docker It works, so I don’t think this a network issue or a least not fully…

 docker search hello-world
NAME                                       DESCRIPTION                                     STARS     OFFICIAL
hello-world                                Hello World! (an example of minimal Dockeriz…   2201      [OK]
rancher/hello-world                        This container image is no longer maintained…   6
okteto/hello-world                                                                         0
tutum/hello-world                          Image to test docker deployments. Has Apache…   90

I’ve already lost 2 day on this issue. And I have seen a lot of message “connection reset by peer” on many forum. (also china one…)
Also, I cannot try the solution to use an alternative Internet connection to change my public IP…

Does some one found the reason of this error, and a true solution ?
Thanks a lot . I think we sjould link together all those post about this issue…


Hi !
I close the subject.
There was a misconfiguration on HyperV.