By command line
INSTALL
First, install cask by type in the terminal
brew tap phinze/homebrew-cask brew install brew-cask
and then type:
brew cask install docker
And run docker by
open /Applications/Docker.app
(or by macOs bottom menu> launchpad > docker – on first run docker will ask you about password)
Thats all 🙂
UNINSTALL
Type brew cask uninstall docker
- thats all 🙂
To clean everything (including images/containers) execute below commands:
sudo rm -Rf /Applications/Docker sudo rm -f /usr/local/bin/docker sudo rm -f /usr/local/bin/docker-machine sudo rm -f /usr/local/bin/docker-compose sudo rm -f /usr/local/bin/docker-credential-osxkeychain sudo rm -Rf ~/.docker sudo rm -Rf $HOME/Library/Containers/com.docker.docker # here we delete stored images
Leave a Reply