How to uninstall Docker completely from a Mac? How to uninstall Docker completely from a Mac? docker docker

How to uninstall Docker completely from a Mac?


Start Docker. Go to the Docker Preferences from its menu bar icon. Within there is a 'Power Button' icon labeled "Reset". Click on that and then click the "Uninstall" button.


To uninstall Docker Toolbox from Mac, first simply download the following Docker Toolbox Uninstall Shell Script to your local machine.

Use the Terminal application on your Mac (i.e. Press CMD+Space to open Spotlight Search and enter keyword "Terminal") to change into the directory it was downloaded into (i.e. cd ~/Downloads), and then execute the file with sudo bash uninstall.sh.


Remove all Docker Machine VMs:

docker-machine rm -f $(docker-machine ls -q);

Remove the application:

rm -rf /Applications/Docker.app

Remove docker binaries:

rm -f /usr/local/bin/dockerrm -f /usr/local/bin/docker-machinerm -r /usr/local/bin/docker-machine-driver*rm -f /usr/local/bin/docker-compose

Remove boot2docker.iso:

rm -rf /usr/local/share/boot2docker

Forget packages:

pkgutil --forget io.docker.pkg.dockerpkgutil --forget io.docker.pkg.dockercomposepkgutil --forget io.docker.pkg.dockermachinepkgutil --forget io.boot2dockeriso.pkg.boot2dockeriso