Skip to content

Cache docker client instances to avoid a file descriptor leak

Nick Thomas requested to merge (removed):196-cache-dockerclient-instances into master

The vendored copy of github.com/fsouza/go-dockerclient leaks fds if connecting to Docker over a UNIX socket.

Work around this by keeping client instances around for the life of the process, sharing them between jobs as long as the configurations (credentials and API version) match.

Closes #196 (closed)

Merge request reports