ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).
[root@harbor harbor]# docker-compose up -d
^CERROR: Aborting.
[root@harbor harbor]# ping www.baidu.com
ping: www.baidu.com: Name or service not known
[root@harbor harbor]# vim /etc/resolv.conf
[root@harbor harbor]# ping www.baidu.com
PING www.a.shifen.com (61.135.169.125) 56(84) bytes of data.
64 bytes from 61.135.169.125 (61.135.169.125): icmp_seq=1 ttl=55 time=24.5 ms
64 bytes from 61.135.169.125 (61.135.169.125): icmp_seq=2 ttl=55 time=24.4 ms
^C
--- www.a.shifen.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
修改 dns
nameserver 114.114.114.114