Minor fix in helpers script

This commit is contained in:
Tortue Torche 2021-11-30 18:03:15 +01:00
parent bdf3aecd5e
commit 83862e9429

View File

@ -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