Clean way to uninstall Docker on macOS

There are several ways to uninstall the Docker Desktop on macOS. However, most of them may leave traces of supporting files used by Docker in the system. I have followed these steps to cleanly uninstall Docker on macOS system.

Steps to cleanly uninstall Docker on macOS

  1. At the menu bar press Docker icon.
  2. From the drop-down menu select Troubleshoot.
    Select Troublshoot from Docker icon menu
  3. In the Troubleshoot screen press the Clean / Purge data button to remove all the containers and images in the machine. It may take several minutes for the purge process to complete.
  4. Then go back to the Troubleshoot screen and press Reset to factory details button to remove the settings data.
  5. Now press the Uninstall button to uninstall Docker.
    Clean way to uninstall Docker on macOS
  6. Open the Finder >> Applications folder and move the to the trash. However, this is not the end. There are some more steps.
  7. In the Finder go to Library >> Application Scripts >> com.docker.helper. Select com.docker.helper and move it to trash.
    Select com.docker.helper and move it to trash
  8. Similarly look for the following folders and files and move them to trash. (NOTE: It will be easy for you to use the “Go to Folder…” option from Menu bar >> Go >> Go to Folder… to locate these files and folders.)
    • ~/Library/Application Support/Docker Desktop
    • ~/Library/Caches/com.docker.docker
    • ~/Library/Cookies/com.docker.docker.binarycookies
    • ~/Library/Group Containers/
    • ~/Library/Logs/Docker Desktop
    • ~/Library/Preferences/com.docker.docker.plist
    • ~/Library/Preferences/com.electron.docker-frontend.plist
    • ~/Library/Saved Application State/com.electron.docker-frontend.savedState
    • ~/.docker

Now Docker Desktop is completely uninstalled from your Mac.

Related Articles


  • Steps for uninstalling Docker Desktop from macOS available at docker docs.

Leave your thoughts...

This site uses Akismet to reduce spam. Learn how your comment data is processed.