June 16, 2025

4 Ways on how to uninstall Docker on Mac

Sergio Tereshchenko
Written by
A content creator with a background in tech support and quality assurance, focused on writing clear, helpful guides for Mac optimization.

Sergio Tereshchenko

Alex Holovchenko
Approved by
The content has been reviewed and approved by our team member, an Apple Certified Support Professional, who provides technical support to Nektony’s users.

Alex Holovchenko

Share

Rolling your eyes when trying to uninstall Docker?🙄 We get it. You can count on us when it comes to removing Docker and all other apps.

Since some users faced a lot of issues in the process of deleting Docker, we’ve decided to prepare a detailed step-by-step guide explaining four ways to completely remove Docker from Mac.

Short on time?

If you value your time and want a quick way to remove Docker completely from your Mac, use App Cleaner & Uninstaller. This specialized tool thoroughly and automatically uninstalls any app from your Mac, along with all associated leftovers from caches and preferences, to browser extensions.

Video guide: A quick way to uninstall Docker from Mac

2:23

youtube button

What is Docker, and why remove it?

For starters, let’s be clear that Docker is an open-source platform that uses portable containers to build, run, and manage applications.

With Docker, developers deal with developing and testing apps in consistent environments – whether on macOS, Windows, Linux distributions like Ubuntu, or cloud servers.

It’s widely used among developers for packaging microservices, allowing each service to run independently with its own dependencies. Docker reported that there are approximately 8.3 million application container image repositories on Hub. More than 20 million developers use the portal monthly. Installations of Docker Desktop reached 3.3 million.

But what about uninstallation?

Despite Docker’s many benefits – like simple container deployment, support for Dockerfile-based builds, and access to secure Docker Hardened Images – you might consider deleting Docker due to:

  1. Switching to an alternative: moving to more modern containerization technology like Kubernetes, which favors runtimes like containerd or CRI-O, or opting for lightweight Podman for rootless container management.
  2. Poor user experience: certain users complain about Docker Desktop for Mac crashing daily and ask for a replacement to run Docker containers.
  3. High RAM & CPU usage: reducing system resource consumption, which might be one of the reasons that slow your Mac down (especially important on developer machines or CI/CD environments)
  4. Incident in open-source circles: Docker trust issues and concerns about rate-limiting pulls of public open-source images pushed many to adopt alternative registries such as GitHub Container Registry.
  5. High power consumption: Docker’s resource demands can significantly reduce battery life, sometimes draining a laptop battery within 3-4 hours or even less.

4 Effective approaches to uninstall Docker Desktop on Mac

Uninstalling Docker Desktop on Mac isn’t always straightforward. Many users need a guide to fully delete the app with files it’s ever created. Whether you choose to follow Docker’s official instructions or prefer a more detailed method, this guide is here to walk you through it.

For your convenience, below is a clear comparison of the possible effective ways to remove Docker from your system completely.

Method Technical Skill Level Speed Removes Hidden Files Recommended When
Manual Uninstallation Intermediate / Advanced Slow ✅ Yes You want full control and don’t mind digging through system folders manually.
App-built Beginner Fairly quick ❌ Not completely You prefer a simple built-in option and plan to manually clean leftovers later.
Using Terminal Advanced Depends ✅ Yes
(if all commands used)
You’re comfortable with command-line tools and want a scriptable solution.
App Cleaner & Uninstaller Beginner Fastest ✅ Yes You want the easiest and most reliable method with minimal effort.

For your reference, we ran all uninstallation methods testing Docker v.4.41.2 on macOS Sequoia 15.3.1.

How to uninstall Docker on Mac manually

If you’re someone who likes to be in full control and doesn’t mind digging through system folders, manual uninstallation might be the route for you.

Just a heads-up – dragging Docker to the Trash only scratches the surface. The app leaves behind quite a few support files buried deep in your Library folder.

This is why you should follow each of the steps below to fully remove Docker from Mac.

  1. Close all Docker-related processes running in the background. For this, go to Applications → Utilities → Activity Monitor → locate any Docker-related process (in the search bar, type Docker) → select them, if any → click the X button to force them to quit. Docker processes in Activity Monitor window
  2. Delete the Docker app. For this, go to Applications → locate the Docker app → move Docker to Bin.
    Removing Docker

    Note:

    You’ve removed the main application, but there’s more to clean up…

  3. Remove Docker leftovers. For this, open Finder → press Command + Shift + G →In the search field, type
    ~/Library

    Copy

    → hit Return.

    Navigating to the Library folder

  4. In the Library folder, double-check the following directories and drag any Docker-related files to the Bin, if any.

    Tip

    You can use Command + Shift + G in Finder and paste each path below one by one to locate the hidden files, then move them to Trash.

    • Application Support:

      ~/.docker

      Copy

      /Library/PrivilegedHelperTools/com.docker.socket

      Copy

      ~/Library/Application Support/Docker

      Copy

      ~/Library/Application Support/Docker Desktop

      Copy

      ~/Library/Application Scripts/group.com.docker

      Copy

      /Library/PrivilegedHelperTools/com.docker.vmnetd

      Copy

    • Caches:

      ~/Library/Saved Application State/com.electron.docker

      Copy

      /private/var/run/com.docker.vmnetd.sock

      Copy

      ~/Library/Caches/com.docker.docker

      Copy

      ~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.electron.dockerdesktop.sfl3

      Copy

      ~/Library/Caches/Docker Desktop

      Copy

      ~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.docker.helper.sfl3

      Copy

      /private/var/folders/*/com.electron.dockerdesktop

      Copy

      /private/var/folders/*/com.electron.dockerdesktop.helper.GPU

      Copy

    • Containers:

      ~/Library/Group Containers/group.com.docker

      Copy

      ~/Library/Containers/com.docker.docker

      Copy

      ~/Library/Containers/com.docker.helper

      Copy

    • Preferences:

      ~/Library/Preferences/com.electron.dockerdesktop.plist

      Copy

    • Login Items:

      /Library/LaunchDaemons/com.docker.socket.plist

      Copy

      /Library/LaunchDaemons/com.docker.vmnetd.plist

      Copy

  5. Empty Bin.

Phew! What a relief. You are all set now 😌

Note:

As you see, this way is thorny. Apps like Docker leave behind tricky-to-find files. If you’re not 100% confident you caught them all, or just want a simpler and safer solution, check out App Cleaner & Uninstaller. Below, you will find this tool that can help you completely uninstall Docker, including 1000+ Mac apps.

How to delete Docker within the app itself

Docker Desktop comes with a built-in uninstall option available through its Troubleshoot menu. Let’s see how the uninstallation process looks like this way:

  1. Open Finder → go to Applications folder → launch Docker.
  2. Сlick the ❓ Troubleshoot icon in the Docker menu bar.
  3. Click the Uninstall button at the bottom. Docker desktop window
  4. Enter your Mac’s admin password to allow the removal.
  5. Once the uninstallation is finished, click Quit.
  6. Move Docker to the Trash from the Applications folder.

Note:

Even though this method removes the core app, in our case, it left residual files behind – cache and login items. To fully uninstall Docker on macOS, we recommend going back to step 3 in the How to uninstall Docker on Mac manually section.

How to uninstall Docker on Mac with Terminal

Another way to uninstall Docker on Mac is to use special commands in Terminal. If you’re comfortable working with the command line, here is how to delete Docker on Mac:

  1. In Finder, go to Applications folder → Utilities → run Terminal.

    Alternative

    Use Spotlight (Command + Space) → type Terminal → press Return.

    Launching Terminal from the Applications folder
  2. Copy and paste the following command and press Return:
    /Applications/Docker.app/Contents/MacOS/uninstall

    Copy

    Note:

    Terminal may show the following error telling that: the operation on deleting from the directory /Library/Containers/com.docker.docker/ is not permitted. You can ignore this error as you have successfully uninstalled Docker Desktop. You can remove the said directory later by allowing Full Disk Access to the terminal (System SettingsPrivacy & SecurityFull Disk Access).

  3. Remove Docker leftover files by entering the following commands:

    rm -rf ~/Library/Group\ Containers/group.com.docker

    Copy

    rm -rf ~/.docker

    Copy

That’s it. Mission accomplished 🚀

How to remove Docker with App Cleaner & Uninstaller

And the simplest way to completely remove Docker and its leftover files is with App Cleaner & Uninstaller. By downloading this tool, you get a solution that automatically finds absolutely all apps’ leftovers and helps you uninstall apps with just two clicks.

Once you have downloaded and launched the uninstaller tool, here are a few actions to follow:

  1. Select Docker from the applications list.
  2. Click on the Remove button. Removing Docker with App Cleaner & Uninstaller

    Important!

    In our screenshot, you can see that Docker takes up 3.87 GB, but the executable file is only 1.66 GB. The rest is excess baggage: logs, caches, and hidden files. That’s why it’s so important to remove everything, not just the main app. A complete uninstall makes all the difference.

  3. Confirm the action. Confirmation window to delete Docker

That’s all. Bye-bye, Docker and its all related files👋

How to Clear the Docker Caches

If you want to just clear the Docker cache without uninstalling the app, it’s also easy with App Cleaner & Uninstaller:

  1. Select Docker from the applications list.
  2. Switch on the Expert mode.
  3. In the right pane, locate and check the Caches box.
  4. Click the Remove button → confirm the action.
Confirmation window to delete Docker

Troubleshooting when Deleting Docker

Uninstalling or reinstalling Docker doesn’t always go smoothly 😬 From launch failures to daemon errors, unexpected issues can pop up along the way. Below, we’ve outlined the most common problems users face, and what you can do to fix or avoid them altogether.

1. Docker fails to launch or crashes unexpectedly

This can happen due to a corrupted virtual machine, broken configuration settings, or after a system update. Resource misconfigurations and a faulty config.json file are often to blame. In this case, you might even have to reinstall Docker.

2. Docker daemon errors

Commands like docker ps or docker run not working? If you see an error such as:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock
…it likely means that the docker.sock file is either missing, corrupted, or locked.

3. Stuck volumes or network bridges

Sometimes, apps won’t launch, or commands like docker-compose down fail to remove volumes or networks. You may also find that bridges are unresponsive or busy. This is often caused by leftover metadata after an incomplete uninstall or internal Docker bugs.

4. Docker breaks after an update

You’ve updated Docker, but now nothing works – images won’t start, the GUI won’t launch, and you might see errors like cannot locate credentials or unexpected error. These issues often stem from configuration or version conflicts after updating.

5. Relaunching Docker

On some Macs, simply quitting Docker using the X button doesn’t actually close all processes and prevents relaunching it.

Fix: Open Activity Monitor → select all remaining Docker processes → quit them.
Only then will Docker launch again.

Final words

To sum up, uninstalling Docker on a Mac isn’t that simple as it seems. Between background processes, hidden files, and scattered leftovers, it’s no surprise you may miss a few steps.

But here’s the good news: with App Cleaner & Uninstaller, you can uninstall Docker and similar programs automatically, quickly, thoroughly, and without touching Terminal. No command lines, no hunting down folders, just a clean break from Docker with a few clicks.

For additional help or clarification, feel free to reach out to Nektony’s team. We’ll sort it out together.

Frequently asked questions

For your ease, we gathered answers to your common questions, whether you're halfway through uninstalling, unsure how to clear cache files, or figuring out how to remove Docker Compose. These FAQs are here to help - clear, quick, and frustration-free.

How do I uninstall Docker Agent?

  1. Open Terminal. You can find it using the Spotlight search.
  2. Log in to the machine where the Docker Agent container runs.
  3. Type the command below and hit Return to list all Docker containers:

    sudo docker ps -a

    Copy

  4. Find the container ID or name for the Docker Agent and remove it with this command:

    sudo docker rm -f

    Copy

How do I uninstall Docker Agent?

  1. Open Terminal.
  2. If installed system-wide, remove it from the system directory by running:

    sudo rm /usr/local/lib/docker/cli-plugins/docker-compose

    Copy

  3. If manually installed using curl, remove the binary with this command:

    rm $DOCKER_CONFIG/cli-plugins/docker-compose

    Copy

  4. If installed via Homebrew, run the following command:

    brew uninstall docker-compose

    Copy

How do I uninstall Docker Agent?

  1. Open Terminal.
  2. Stop and remove containers. For this type sudo docker ps -a and press Return.
  3. Find container_id you want to delete and run these commands one by one:

    sudo docker stop

    Copy

    sudo docker rm

    Copy

  4. Remove all images in Docker by entering:

    sudo docker images # find IMAGE ID for alpine

    Copy

    sudo docker rmi <image_id >

    Copy

  5. Remove volumes by entering:

    docker volume ls # find name test_volume

    Copy

    docker volume rm

    Copy

  6. Remove networks by entering:

    docker network ls # find network created by docker-compose

    Copy

    docker network rm

    Copy

    Alternative:

    This action takes all the steps above automatically.

    For Docker Compose projects, run:

    docker-compose down --volumes --rmi all

    Copy

Scroll to Top