To uninstall Docker Desktop for Mac run /Applications/Docker.app/Contents/MacOS/Docker --uninstall
or uninstall it from the Docker Desktop UI Preferences under the "Troubleshooting" bug icon.
Download the Docker CLI client binary for Mac from https://download.docker.com/mac/static/stable/. The Mac Docker CLI client binary source code is Apache Licensed. Unpack and copy docker
to /usr/local/bin
.