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
ping: www.baidu: Name or service not known
[root@harbor harbor]# vim /etc/resolv.conf
[root@harbor harbor]# ping www.baidu
PING www.a.shifen (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 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms

修改 dns

nameserver 114.114.114.114

更多推荐

Rancher入门到精通-consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current va