@Override
    public CloseableHttpClient buildPooledClient() {
        final HttpClientBuilder httpBuilder = HttpClients.custom();
        final PoolingHttpClientConnectionManager manager = new PoolingHttpClientConnectionManager(registry, dnsResolver);
        manager.setDefaultMaxPerRoute(maxConnections);
        httpBuilder.setConnectionManager(manager);
        return httpBuilder.build();
    }
Base class for all clients which access Docker natively

@author roland
@since 08/08/16
src/main/java/io/fabric8/maven/docker/access/hc/util/AbstractNativeClientBuilder.java