Skip to content

UnixHTTPConnectionPool(host='localhost', port=None): Pool is closed. On compose build #7179

@hostmit

Description

@hostmit

I'm hitting this error while building in parallel 12 services (6 concurrent, IO intensive build on SSD compute instance). Happens occasionally but it does.

ERROR: for Dashbrd  UnixHTTPConnectionPool(host='localhost', port=None): Pool is closed.
Couldn't connect to Docker daemon at http+docker://localhost - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.

Retrying same build helps. I looked through the daemon log - no visible errors found.

Docker version 19.03.5, build 633a0ea838
docker-compose version 1.24.1, build 4667896b

I've increased COMPOSE_HTTP_TIMEOUT, but I dont think that's the problem.

The strange thing is I get the same behavior while building under DIND.

Any solution known in 2020?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions