How to Uninstall Docker on macOS

Isaac Tony Feb 02, 2024
How to Uninstall Docker on macOS

We have seen widespread adoption of Docker as the ultimate containerization platform in the recent past. Due to this, setting up Docker across all platforms has incredibly been simplified, including macOS and windows.

However, some users usually face a problem when getting rid of docker from their system for one reason or the other. Besides the main Docker file that we can easily get rid of, Docker also creates files and embeds them into the system folders.

In this tutorial, we’ll explore how to remove the Docker application of macOS and manually remove its application files.

Uninstall the Docker Application in macOS

  1. We will ensure that the Docker app and its background processes are not running. Eliminate this process through the activity monitor by selecting any process named "Docker" and clicking on the Quit process.

    activity monitor on macOS

  2. Under the Finder, navigate to the Applications folder. Proceed to locate Docker in the list of applications and move it to the bin.

    locating docker application in applications folder

    Deleting the Docker application from the Applications folder does not mean we have gotten rid of Docker from our system. Along with other important files, such files are usually stored under the Library Folder.

    Since these files are normally hidden, we need to first locate the Library folder and find the files and subdirectories related to Docker and get rid of them.

  3. Click on the Go options at the top of the menu bar under the Finder. Under this menu at the far bottom, click on the option Go to Folder.

    locating a folder through the finder in mac

  4. Once you click the Go to Folder, a search box opens. Type ~/Library in this box and click the Go button.

    This will give us access to the Library folder, as shown below.

    library folder

  5. Locate the sub-packages belonging to docker and get rid of them. We can start by removing the com.docker.helper folder under the Applications Scripts folder.

  6. Under the Caches folder, locate and delete the com.docker.docker folder folder.

  7. Proceed to the Containers folder and delete the com.docker.docker folder alongside the com.docker.helper folder. The three folders that we have been highlighted below.


  8. Now we have gotten rid of the main docker folders, we will remove the rest of the files related to your Docker installation. Visit the folders and the sub-folders below and delete them from your system.

    ~/Library/Saved Application State/com.electron.docker-frontend.savedState
    ~/Library/Application Support/Docker Desktop
    ~/Library/Group Containers/
    ~/Library/Logs/Docker Desktop

Removing these files from your system and emptying your trash folder will successfully remove the Docker installation from your Mac. Alternatively, there are a ton of app Uninstallers out there if you would like an easier method.

Author: Isaac Tony
Isaac Tony avatar Isaac Tony avatar

Isaac Tony is a professional software developer and technical writer fascinated by Tech and productivity. He helps large technical organizations communicate their message clearly through writing.


Related Article - Docker MacOS