I have some makefiles
where most of the stuff should run without configuration. These makefiles have used docker-machine
in the past.
Is there a way to detect in bash
if the user is using docker desktop for mac instead of docker-machine ?
The cleanest way I found so far is:
[[ $(docker version --format "{{.Server.KernelVersion}}") == *-moby ]]