So Docker for Mac is out of Beta.  If you haven’t switched, I suggest you do. But getting rid of your boot2docker, docker-machine, brew installed docker client, etc… it’s a bit tricky.  Most of this info came from’s post.

Here is a condensed set of steps to remove almost everything:

# Remove applications
sudo rm -rf /Applications/boot2docker
sudo rm -rf /Applications/Docker

# Uninstall brew stuff
brew uninstall docker boot2docker

# Make sure to get rid of executables
sudo rm -f /usr/local/bin/docker
sudo rm -f /usr/local/bin/boot2docker
sudo rm -f /usr/local/bin/docker-machine
sudo rm -r /usr/local/bin/docker-machine-driver*
sudo rm -f /usr/local/bin/docker-compose

# Remove boot2docker VBox image
sudo rm -rf /usr/local/share/boot2docker

# Remove docker packages
sudo pkgutil --forget io.docker.pkg.docker
sudo pkgutil --forget io.docker.pkg.dockercompose
sudo pkgutil --forget io.docker.pkg.dockermachine
sudo pkgutil --forget io.boot2dockeriso.pkg.boot2dockeriso

# Remove additional boot2docker files in /private folder
sudo rm -f /private/var/db/receipts/io.boot2docker.*
sudo rm -f /private/var/db/receipts/io.boot2dockeriso.*

# Remove configs
rm -rf ~/.docker
rm -rf ~/.boot2docker
rm ~/.ssh/id_boot2docker*

Now you will need to edit your .zshrc or .bashrc or .bash_profile to remove exports like:


Finally, you should open VirtualBox and delete the ‘default’ or any boot2docker virtual machines.


Now you should be able to install Docker for Mac and there will be no conflicts and lots of disk space available. Container up!