Docker Desktop for macOS version 3.x has been released long time ago. So, may be, you want to install version 2.x.

You should have homebrew and homebrew-cask on your mac. If you do not have then install them.

Docker — Homebrew — macOS

You can see the last state of the cask which is needed at

But, if you want to install an older version of Docker Desktop then you should see the history at

Choose the version which you desire and copy the of the raw rb file. The url looks like this:<commit-hash>/Casks/docker.rb

Now, prepare the downloader command:

$ curl -o…

Abdullah Pazarbaşı

Senior Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store