diff --git a/pkg/skaffold/docker/client.go b/pkg/skaffold/docker/client.go index b580c78cb67..c0907d7c4c1 100644 --- a/pkg/skaffold/docker/client.go +++ b/pkg/skaffold/docker/client.go @@ -104,7 +104,11 @@ func newEnvAPIClient() ([]string, client.CommonAPIClient, error) { DialContext: helper.Dialer, }, } - opts = append(opts, client.WithHTTPClient(httpClient), client.WithHost(helper.Host)) + opts = append(opts, + client.WithHTTPClient(httpClient), + client.WithHost(helper.Host), + client.WithDialContext(helper.Dialer), + ) } else { opts = append(opts, client.FromEnv) }