If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60)

EERROR: for xxxx UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60 

ERROR: for   xxx xx UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for xxxxence  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

ERROR: for xxxx_filter  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

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).

解决,在/etc/profile.d/目录,新增docker.sh,写入变量:

$ cat docker.sh 

#set docker http enviroment

export COMPOSE_HTTP_TIMEOUT=500

export DOCKER_CLIENT_TIMEOUT=500

执行source /etc/profile或重启服务器。

结束。

posted @ 2022-12-02 16:38  巴州夜雨  阅读(597)  评论(0编辑  收藏  举报