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)
解决办法如下:
1. docker-compose.yaml 进行拆分
2. 环境变量配置:
vim /etc/profile
在文件最后添加如下代码
# 在文件最后添加如下代码
export COMPOSE_HTTP_TIMEOUT=500
export DOCKER_CLIENT_TIMEOUT=500
然后保存,保存之后使环境变量生效,执行以下命令
source /etc/profile
over~
评论区