mirror of
https://github.com/rancher/rke.git
synced 2025-06-24 14:31:59 +00:00
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.
This commit is contained in:
parent
32bf922fc5
commit
ff663b5a59
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user