I’m currently trying to install Docker on my old Raspberry Pi (3 Model B+) to host some personal projects. When I run docker run hello-world, I get:
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get "https://registry-1.docker.io/v2/library/hello-world/manifests/sha256:ec153840d1e635ac434fab5e377081f17e0e15afab27beb3f726c3265039cfff": dial tcp [2600:1f18:2148:bc00:eff:d3ae:b836:fa07]:443: connect: network is unreachable
My Internet connection does not support IPv6 at all, which would explain why this error occurs. But how do I force docker-pull to only use IPv4?


Check your DHCP Server and disable DHCPv6. The raspi shouldn’t get a ipv6 then and you won’t have this problem in the future with other devices.
edit: and restart the pi after disabling DHCPv6
DHCP server as in on my router?
Still get exactly the same error.
You don’t need DHCP6 to get an IPv6. There’s also SLAAC