Merge pull request #3140 from dholbach/docker-for-mac-fix

Minimal fix to make scope start with Docker for Mac again.
This commit is contained in:
Ilya Dmitrichenko
2018-04-13 10:28:14 +01:00
committed by GitHub

2
scope
View File

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