mirror of
https://github.com/weaveworks/scope.git
synced 2026-02-14 18:09:59 +00:00
Docker for Mac 1.12 has only one network mode (close #1755)
This commit is contained in:
2
scope
2
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
|
||||
|
||||
Reference in New Issue
Block a user