mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-25 08:16:33 +00:00
Fix Docker for Mac check (#1551)
This commit is contained in:
committed by
Tom Wilkie
parent
85aee27ef6
commit
25685c55f9
2
scope
2
scope
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user