Skip to content

Commit

Permalink
Docker for Mac 1.12 has only one network mode (close #1755)
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Aug 4, 2016
1 parent 1d3ad9e commit 99bbdac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scope
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99bbdac

Please sign in to comment.