This error is occurring today on an Alpine Linux server that had been working normally for several months. The last time I did a pull was a few weeks ago.
Error:
# docker --log-level debug pull alpine:latest
Error response from daemon: Get "https://registry-1.docker.io/v2/": read tcp 192.168.100.214:37344->23.23.116.141:443: read: connection reset by peer
Details
OS: Alpine Linux v3.13 (3.13.4)
Docker version 20.10.3, build 48d30b5b32e99c932b4ea3edca74353feddd83ff
Current containers are running normally on the server.
There is no proxy server between this server and the internet, only a corporate firewall.
The firewall hasn’t been modified since before docker was installed on this server.
The errors are occurring both before and after an OS update.
I have a CentOS 7 server on the same subnet that is working correctly.
I have confirmed connectivity to the url
# curl "https://registry-1.docker.io/v2/"
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}
/var/log/docker.log
time="2021-04-02T13:22:10.881465261-04:00" level=warning msg="Error getting v2 registry: Get \"https_//registry-1.docker.io/v2/\": read tcp 192.168.100.214:59826->35.169.249.115:443: read: connection reset by peer"
time="2021-04-02T13:22:10.881592163-04:00" level=info msg="Attempting next endpoint for pull after error: Get \"https_//registry-1.docker.io/v2/\": read tcp 192.168.100.214:59826->35.169.249.115:443: read: connection reset by peer"
time="2021-04-02T13:22:10.890732936-04:00" level=error msg="Handler for POST /v1.41/images/create returned error: Get \"https_//registry-1.docker.io/v2/\": read tcp 192.168.100.214:59826->35.169.249.115:443: read: connection reset by peer"
(links in log have been modified to avoid new user link posting limit)
How can I troubleshoot this further?