EugenMayer / docker-sync

Run your application at full speed while syncing your code for development, finally empowering you to utilize docker for development under OSX/Windows/*Linux
GNU General Public License v3.0
3.54k stars 289 forks source link

Fix docker-sync strategy detection on newer versions of docker on mac #836

Closed blackjid closed 11 months ago

blackjid commented 1 year ago

I was having issues trying to rely on the default strategy, I was getting unison when the expected was native-osx as I was running on mac.

Here are some scenarios I tested:

I figure that maybe we want to detect whether we are using Docker Desktop on a mac, and then fallback to detect the virtualization processes.

Any feedback is welcome on the changes proposed