diff --git a/docker-entrypoint b/docker-entrypoint index 08c14a3..14b3ef9 100755 --- a/docker-entrypoint +++ b/docker-entrypoint @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -e -if [ -z "$DOCKER_HOST" -a "$DOCKER_PORT_2375_TCP" ]; then +if [ -z "$DOCKER_HOST" ] && [ -a "$DOCKER_PORT_2375_TCP" ]; then export DOCKER_HOST='tcp://docker:2375' fi