Docker for Mac 1.12 has only one network mode (close #1755)

This commit is contained in:
Ilya Dmitrichenko
2016-08-04 16:46:03 +01:00
parent 4af56cdb3e
commit d7c40827c8

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