To install Docker on Mac, kindly follow these steps:
Once the installation is complete, Docker will start automatically. You can confirm that Docker is running by looking for the Docker icon in the system tray.
Alternatively, you can also install Docker using Homebrew by running the following command in a Terminal window: brew cask install docker
Note: Docker requires MacOS Mojave 10.14 or newer. If you are using an older version of MacOS, you will need to use Docker Toolbox instead.