docker-compose up start container service timeout error: ERROR: An HTTP request took too long to complete. Retry with --verbose

docker-compose up start container service timeout error: ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information

#修改COMPOSE_HTTP_TIMEOUT的值,并转为环境变量
vi /etc/profile
export COMPOSE_HTTP_TIMEOUT=900 
export DOCKER_CLIENT_TIMEOUT=900
source /etc/profile

Guess you like

Origin blog.csdn.net/jinba225/article/details/117922108