Docker build failed to authorize on ubuntu

why?

If you are from China, you can check this issue on GitHub

If I try the IP that you see in the log, it doesn’t connect for me either

curl --header 'Host: auth.docker.io' https://98.159.108.61/token