diff --git a/scripts/helpers.sh b/scripts/helpers.sh index 09464d7..9499cb7 100644 --- a/scripts/helpers.sh +++ b/scripts/helpers.sh @@ -20,7 +20,7 @@ function external_registry_login() { function setup_docker() { if ! docker info &>/dev/null; then - if [ -z "$DOCKER_HOST" -a "$KUBERNETES_PORT" ]; then + if [ -z "$DOCKER_HOST" ] && [ -n "$KUBERNETES_PORT" ]; then export DOCKER_HOST='tcp://localhost:2375' fi fi