dockergitlabipv6runner

Docker Authentification: failed to fetch anonymous token


I got the following error inside my gitlab runner:

ERROR: failed to authorize: failed to fetch anonymous token: Get "https://auth.ipv6.docker.com/token?scope=repository%3Alibrary%2Fnode%3Apull&service=registry.docker.io": dial tcp [2600:1f18:2148:bc02:4bf0:3a98:55ae:e3d5]:443: connect: cannot assign requested address

see: https://docs.docker.com/registry/spec/auth/token/

Is there a way to change auth.ipv6.docker.com with auth.ipv4.docker.com somewhere ?


Solution

  • This was an outage triggered by Docker IPv6 migration. It has been fixed by Docker upstream so you should no longer see the issue. If you're still having problems with it, follow up in their GitHub issue on the IPv6 migration.