Docker command not found when running on Mac
After installing docker using Homebrew, start the Docker daemon by searching for Docker in the Application folder in Finder and running it.
I had to run the following from terminal after doing the above:docker run -d -p 80:80 docker/getting-started
Now run "docker --version" from terminal and it should give the desired result.
Reference : https://www.cprime.com/resources/blog/docker-on-mac-with-homebrew-a-step-by-step-tutorial/
Run brew list which will show a list of all your installed Homebrew packages.
But it's highly recommended to install docker using below link on your mac :