After putting in docker utilizing Homebrew, begin the Docker daemon by looking for Docker within the Application folder in Finder and running it.
I needed to run the next from terminal after doing the above:
docker run -d -p 80:80 docker/getting-started
Now run “docker –version” from terminal and it ought to give the specified consequence.
Reference : https://www.cprime.com/resources/blog/docker-on-mac-with-homebrew-a-step-by-step-tutorial/
I’m afraid it’s essential to add
docker command to your PATH manually. It could be accomplished by way of profile file. As
ZSH is now a default shell on MacOS, it could go to
# Add Visual Studio Code (code)
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
# Add Docker Desktop for Mac (docker)
Run brew listing which can present an inventory of all of your put in Homebrew packages.
But it’s extremely really useful to put in docker utilizing under hyperlink on your mac :
Homebrew’s docker doesn’t set up /usr/native/bin/docker or the /Applications/Docker.app any extra on 10.13.
You must obtain the Docker Desktop for Mac utility from the docker.com web site above and set up it.