My suspicion was along the ipv6 line as well. After I posted and in the process of trouble shooting I disabled IPv6 on my server. So I suppose that is why the curl -6 failed.
I don’t understand why I am getting the ‘unauthorized’ error as I have never seen that since I setup docker about 18 months ago. My next step in debugging is to find out why my DNS resolver is suddenly asking for IPv6 addresses first and then IPv4. Then I will tackle the authorization error.
So, in the meantime, if you have any other ideas, they would be welcome.
I’m having this exact problem. Identical command output.
I have 2 laptops, one is Debian 12, one Debian 13.
Neither are connected via ipv6. Both have the same output to curl -4 and curl -6 as bbnd1445 above.
The Debian 12 machine is able to pull repositories without any problem docker pull hello-world works as expected.
The Debian 13 machine not able to pull repositories, and seems to be trying to request them via ipv6, with the same “network is unreachable” output shown above.
This issue seems to have been reported in several other threads in these forums but none have ever reached (or mentioned?) a resolution.
Not that it really matters, but I had the same problem about 3 or 4 weeks ago. (see above) This was on my home server. I disabled DNS, I updated the OS and I updated docker and all the images. Oh, yeah, I disabled IPv6 on my host (Ubuntu 24.04) all to no avail. I just left it for about 4 hours and when I came back, it was working.