docker-compose up fails with “UnixHTTPConnectionPool(host='localhost', port=None): Pool is closed”

I’m getting the following error when performing “docker-compose up”. This seem to be a random problem. The version of docker-compose is “1.8.0, build f3628c7” and Linux version is “Linux 3.10.0-327.13.1.el7.x86_64”.

  ERROR: for scheduler  UnixHTTPConnectionPool(host='localhost', port=None): Pool is closed.
Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "compose/cli/main.py", line 61, in main
  File "compose/cli/main.py", line 113, in perform_command
  File "compose/cli/main.py", line 835, in up
  File "compose/project.py", line 400, in up
  File "compose/parallel.py", line 64, in parallel_execute
requests.packages.urllib3.exceptions.ClosedPoolError: UnixHTTPConnectionPool(host='localhost', port=None): Pool is closed.

Although this issue is reported in docker github page, no insight into the resolution of the issue is mentioned. Any help to resolve this issue is appreciated.

  • Is there an alternative to Dockerfile Env Instruction?
  • How to access host port from docker container
  • Build vs Runtime environment variables
  • How-to run a node.js docker instance dropping into a shell that is auto-tailing logs
  • How can I install docker on Debian 8 kernel 2.6.32
  • how to mount volume in ElasticBeanstalk Docker container using only Dockerrun.aws.json
  • container monitoring not enabled by default
  • Jenkins Docker Set Admin Password from Environment Variable
  • DNS Server in Docker Container
  • grails/mysql with docker compose
  • Executing shell command produces nothing
  • How to define OpenJDK 8 in CentOS based Dockerfile?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.