Skip to content

Commit

Permalink
Fix Docker for Mac strategy detection
Browse files Browse the repository at this point in the history
17.10.0-ce-mac36
  • Loading branch information
Mathias Larsen committed Oct 26, 2017
1 parent bd518b5 commit 48d23ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/docker-sync/dependencies/docker_driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ def self.docker_for_mac?
return false unless Environment.mac?
return @docker_for_mac if defined? @docker_for_mac
@docker_for_mac =
system('docker info | grep -q "Operating System: Alpine Linux"') &&
system('docker info | grep -q "Operating System: Alpine Linux"') ||
system('docker info | grep -q "Operating System: Docker for Mac"') &&
system('docker info | grep -q "Docker Root Dir: /var/lib/docker"')
end

Expand Down

0 comments on commit 48d23ce

Please sign in to comment.