Read Time: 0.90 minutes
Below method helped me remove docker, docker-desktop completely from macbook pro m1.
Used AppCleaner to remove docker from applications directory
To completely uninstall Docker from your MacBook M1 Pro, follow these steps:
Quit Docker Desktop: Click on the Docker icon in the menu bar at the top of your screen. From the dropdown menu, select "Quit Docker Desktop".
Remove Docker Desktop from Applications: Open Finder and navigate to the Applications folder. Find Docker.app and drag it to the Trash, or right-click and select "Move to Trash".
I used AppCleaner - https://freemacsoft.net/appcleaner/
Remove Docker files: Docker stores data in several other locations. To completely remove Docker, you'll need to delete these files as well. Open Terminal and execute the following commands:
rm -Rf ~/Library/Containers/com.docker.docker
rm -Rf ~/.docker
rm -Rf /Library/Containers/com.docker.docker
- Remove Docker's command line tools: Docker also installs some command line tools in
/usr/local/bin
. To remove these, execute the following commands in Terminal:
rm -f /usr/local/bin/docker
rm -f /usr/local/bin/docker-compose
rm -f /usr/local/bin/docker-credential-osxkeychain
rm -f /usr/local/bin/docker-machine
rm -f /usr/local/bin/docker-machine-driver*
rm -f /usr/local/bin/docker-machine-helper
rm -f /usr/local/bin/docker-machine-mount
rm -f /usr/local/bin/docker-machine-parallels
rm -f /usr/local/bin/docker-machine-xhyve
- Empty the Trash: Finally, empty your Trash to completely remove Docker Desktop and its associated files.
Please note that this will delete all your Docker containers, images, and data. Make sure to backup any important data before proceeding.
After these steps, Docker should be completely removed from your MacBook M1 Pro. If you want to reinstall Docker, you can download the latest version from the Docker website.