jimmi61
(Jimmi61)
August 7, 2024, 6:23am
1
On my laptop running Win10 I configured WSL2 with Ubuntu 24.04 and succesfully installed Docker Compose on it, this is the output I get:
# docker compose version
Docker Compose version v2.29.1
However any pull request hangs and teminate sometime with “connection reset by peer” sometime with “i/o timeout”
I live in China, therefore I suspect that the local internet policies may have something to do with this problem, is there anyone that may give me some hint or debug procedures?
meyay
(Metin Y.)
August 7, 2024, 6:39am
2
A short google search yields that indeed it seems that Docker Hub can’t be used in China.
You can find posts like this:
You will need to find a local mirror, and configure it as mirror in /etc/docker/daemon.json
.
jimmi61
(Jimmi61)
August 7, 2024, 8:21am
3
Yes @meyay , I also found that link short time after sending the post
I found this link to configure the daemon.json but apparenty also these servers are not wotking. I’ll keep searching for something more updated.
###UPDATE ###
The hubs are working! Just it needs to add a trailing slash to the address like:
"https://docker.m.daocloud.io/",
1 Like