Fix Docker for Mac check (#1551)

This commit is contained in:
Ilya Dmitrichenko
2016-06-04 08:04:08 +01:00
committed by Tom Wilkie
parent 85aee27ef6
commit 25685c55f9

2
scope
View File

@@ -72,7 +72,7 @@ check_docker_for_mac() {
[ "$(uname)" = "Darwin" ] \
&& [ -S /var/run/docker.sock ] \
&& [ ! "${DOCKER_HOST+x}" = x ] \
&& [ ! "${HOME+x}" = x ] \
&& [ "${HOME+x}" = x ] \
&& grep -q hybrid "${HOME}/Library/Containers/com.docker.docker/Data/database/com.docker.driver.amd64-linux/network" 2>/dev/null
}