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/", line 61, in main
  File "compose/cli/", line 113, in perform_command
  File "compose/cli/", line 835, in up
  File "compose/", line 400, in up
  File "compose/", 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.

  • Init Layer in Docker
  • Is there a way how to run LXD inside Docker?
  • Cannot install RWeka package in docker image
  • Dokku: Listen to multiple ports from an app
  • getting python and react component based container to work
  • Accessing docker container from iOS Simulator
  • Cloudera Docker image … everthing errors out
  • Parameters to pass to docker run automatically on startup
  • Linked Docker Containers with Mesos/Marathon
  • Kong in Docker : Configuring API endpoints without curl
  • Elastic Beanstalk with multiple environments and URL routing between them
  • “Value cannot be null. Parameter name: userName” error when installing MSSQL 2014 Express in Docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.