Docker login: Dial tcp: lookup index.docker.io read udp i/o timeout

what solved it for me is adding an A record for index.docker.io in my hosts file, e.g.:

52.200.132.201 index.docker.io

then it started working.

1 Like