How can this Ubuntu connection issue be fixed?

I’m trying to build Docker images manually, but an error has occurred.

enter image description here