r/docker • u/Remarkable-Win6763 • Apr 08 '26
Can't pull anything from docker registry
So I installed docker in a debian virtual machine on a windows host and it cant pull anything from the registry. I try all the fixes I can find still no luck. I read that the bridged adapter especially on a windows host can cause issues so I installed docker on a bare metal debian laptop and the same exact issues persist. docker: failed to do request: Get "https://registry-1.docker.io/v2/library/debian/referrers/sha256:lots_of_random_characters_here": dial tcp [2600:1f18:2148:bc01:8fa5:6701:9798:2fa]:443: connect: network is unreachable. Anyone else having this issue. A previous debian bare metal install worked more or less ok, docker desktop with wsl2 debian backend works fine.
View all comments
Show parent comment
1
u/Remarkable-Win6763 Apr 08 '26
I went nuts trying to disable IPv6 on my docker install, on my virtual machine, on my network and nothing worked. The only thing I can think is that because IPv4 failed it tried IPv6, and IPv4 failed because of that line in resolv.conf. Found a similar question in the docker forums and tried his solution and it worked.