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?

  • frebib@social.nerdhouse.io
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    2
    ·
    1 month ago

    It will only try IPv6 if your computer has an address. Now the question is: if your network doesn’t support it, then why do you have an address?

    • Unforeseen@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      They said thier internet connection didn’t support it, not their network.

      You can lease ipv6 all day long but its not going to go anywhere if it can’t route to the internet.