@@ -374,7 +374,8 @@ func determineDockerHost() (string, error) { |
|
|
374 |
374 |
currentContext = cf.CurrentContext |
375 |
375 |
} |
376 |
376 |
|
377 |
|
-if currentContext == "" { |
|
377 |
+// On some systems (windows) `default` is stored in the docker config as the currentContext. |
|
378 |
+if currentContext == "" | |
378 |
379 |
// If a docker context is neither specified via the "DOCKER_CONTEXT" environment variable nor via the |
379 |
380 |
// $HOME/.docker/config file, then we fall back to connecting to the "default docker host" meant for |
380 |
381 |
// the host operating system. |