Merge pull request #1764 from weaveworks/fix-1755

Docker for Mac 1.12 has only one network mode (close #1755)
This commit is contained in:
Alfonso Acosta
2016-08-05 15:33:09 +01:00
committed by GitHub

2
scope
View File

@@ -93,7 +93,7 @@ check_docker_for_mac() {
&& [ -S /var/run/docker.sock ] \
&& [ ! "${DOCKER_HOST+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
&& [ -d "${HOME}/Library/Containers/com.docker.docker/Data/database" ]
}
# Check that a container named $1 with image $2 is not running