From d7c40827c88642246f7edd8957dff164fd2adb06 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Thu, 4 Aug 2016 16:46:03 +0100 Subject: [PATCH] Docker for Mac 1.12 has only one network mode (close #1755) --- scope | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scope b/scope index 8cc6ed2f2..31ff5f736 100755 --- a/scope +++ b/scope @@ -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