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.

Image for post
Image for post
Docker — Homebrew — macOS

You can see the last state of the cask which is needed at https://github.com/Homebrew/homebrew-cask/blob/master/Casks/docker.rb

But, if you want to install an older version of Docker Desktop then you should see the history at https://github.com/Homebrew/homebrew-cask/commits/master/Casks/docker.rb

Choose the version which you desire and copy the of the raw rb file. The url looks like this:

https://raw.githubusercontent.com/Homebrew/homebrew-cask/<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