Saturday, December 3, 2022

`docker-compose up` times out with UnixHTTPConnectionPool


Some of the ways are: 


1. restart docker and set the below environment variables 

setting DOCKER_CLIENT_TIMEOUT and COMPOSE_HTTP_TIMEOUT environment variables:

it seems to be machine resource limitation. 

Something else my team did was to make a script that starts a batch of containers, waited for them to be healthy, and then started another batch of containers, and so on. That way the computer was not overwhelmed by all the operations that ran during startup.


No comments:

Post a Comment