From ff663b5a5996e2dba52453c20da1ec2ee5f8b9ec Mon Sep 17 00:00:00 2001 From: Sebastiaan van Steenis Date: Mon, 2 Sep 2019 18:58:58 +0200 Subject: [PATCH] Dont set withHost on Docker client Problem: Because of the unix socket reference, Windows breaks on rke up Root cause: Vendor of docker/docker Resolution: I was checking what was changed in vendor but it seems this setting is not used, as we configure Docker socket per host. --- hosts/tunnel.go | 1 - 1 file changed, 1 deletion(-) diff --git a/hosts/tunnel.go b/hosts/tunnel.go index 20745498..2f7213ad 100644 --- a/hosts/tunnel.go +++ b/hosts/tunnel.go @@ -36,7 +36,6 @@ func (h *Host) TunnelUp(ctx context.Context, dialerFactory DialerFactory, cluste // set Docker client logrus.Debugf("Connecting to Docker API for host [%s]", h.Address) h.DClient, err = client.NewClientWithOpts( - client.WithHost("unix:///var/run/docker.sock"), client.WithVersion(DockerAPIVersion), client.WithHTTPClient(httpClient)) if err != nil {