How To Uninstall Docker Desktop Mac (4 Different Ways)

Before we dive in

Trying to uninstall an app completely? SpyHunter for Mac includes an App Uninstaller that removes unwanted apps and their leftover files in just a few clicks.

Avoid clutter and save time — download SpyHunter right here and follow the steps to clean up your system.

Download SpyHunter

Deciding to uninstall Docker Desktop from your Mac might initially seem counterintuitive, given its prowess in streamlining development.

However, significant disk space consumption and a shift in development needs or preferences can prompt a reevaluation of its utility.

This article explains the rationale for removing Docker Desktop, highlights when it might be time for uninstallation, and outlines the steps to ensure a clean and efficient removal process.

Let’s get started!

Reasons to remove Docker Desktop from your Mac

Uninstalling Docker Desktop from your Mac comes down to several practical considerations, each aiming to optimize your computing experience:

  • Disk Space Management: Docker Desktop is known for its significant disk space requirements. For those with limited storage capacity or aiming to free up space, removing Docker Desktop can provide immediate relief and improve system performance.
  • Evolving Development Requirements: Development tools must evolve with your projects. If Docker Desktop no longer aligns with your current development practices or project requirements, finding a more suitable tool becomes necessary.
  • Personal Preferences and Simplification: A shift in personal preferences towards different development environments or pursuing a simplified digital workspace might lead you to reconsider the necessity of Docker Desktop on your Mac.
docker desktop logo

Making an informed decision to uninstall Docker Desktop involves assessing these aspects and considering the overall impact on your Mac’s efficiency and productivity.

Steps to manually uninstall Docker Desktop on Mac

Uninstalling Docker Desktop from your Mac can seem like a daunting task.

Below is a simple, step-by-step guide to remove Docker Desktop, including its application files and entities.

Follow these detailed steps for a thorough uninstallation process:

Step 1: Quit the Docker Desktop app

Ensure that Docker Desktop is not running before beginning the uninstallation:

If the Docker icon is visible in the Dock and has a dot underneath, it’s currently running. Right-click on it and select Quit from the contextual menu.

quit docker desktop application

If Docker doesn’t quit this way, proceed to force quit. Launch Activity Monitor and search for Docker in the search bar. Select any running processes related to the app and then click the [X] button at the top to quit the process.

force quit the docker app using activity monitor

Step 2: Remove Docker entities

Before proceeding to uninstall Docker Desktop, it’s essential to address the entities created by the app, as they can significantly occupy space on your Mac even after the application is removed.

Here’s how to clear them out:

  1. Launch Terminal
  2. In the Terminal window, execute each of the following commands. Each command targets a specific component of Docker:
    • Remove All Docker Images: Enter docker rmi -f $(docker images -a -q) and press Return.
    • Remove All Docker Containers: Type docker rm -f $(docker ps -a -q) and press Return.
    • Remove All Docker Volumes: Input docker volume rm $(docker volume ls -q) and press Return.

Note: These commands will irreversibly delete all your Docker images, containers, and volumes. Ensure you have backups of any data you wish to keep before proceeding.

Step 3: Remove the Docker Desktop application

Once Docker Desktop is closed and all of its components are erased, you can remove the application from your system:

  1. Click on the Finder icon in your Dock to begin the removal process.
  2. Locate and click on the Applications folder within Finder.
  3. Locate Docker and drag it to the Trash. You can also right-click (or control-click) on the app icon and select Move to Trash from the dropdown menu.
  4. Right-click on the Trash bin and choose Empty Trash to remove the Docker Desktop app from your Mac permanently.
delete docker desktop app

Step 4: Delete Docker Desktop-related files and folders

Docker Desktop stores additional files that need to be removed to complete the uninstallation:

  1. In Finder, press Command + Shift + . to reveal hidden files and folders.
  2. From the Go menu, click Go to Folder, and navigate to the following folders.
    • ~/Library/Application Support/Docker Desktop/
    • ~/Library/Caches/Docker Desktop/
    • ~/Library/Logs/Docker Desktop/
    • ~/Library/Preferences/com.docker.docker.plist
    • ~/Library/Containers/com.docker.docker/
    • ~/Library/Saved Application State/com.electron.docker-frontend.savedState
    • ~/.docker/
  3. Delete any Docker Desktop-related files.
  4. Ensure you empty the Trash once more to remove all Docker Desktop files from your Mac altogether.
remove docker desktop residual files

By following these steps, you’ll remove the Docker Desktop app and the associated files, containers, and volumes, thus reclaiming a substantial amount of disk space.

Completely uninstall Docker Desktop using SpyHunter

For an efficient and thorough removal of Docker from your Mac, SpyHunter offers a streamlined solution with its App Uninstaller feature.

SpyHunter simplifies the uninstallation by scanning for installed apps and their associated files and folders, ensuring a comprehensive cleanup.

uninstall docker desktop using spyhunter

Here’s how you can use SpyHunter to fully uninstall Docker Desktop:

  1. Download SpyHunter for free here and follow the prompts to install it on your Mac.
  2. Open SpyHunter and navigate to the App Uninstaller tab. This triggers SpyHunter to scan your Mac for all installed applications and related files and folders.
  3. SpyHunter will display a list of applications once the scan is completed. Locate the Docker app in this list.
  4. Select Docker Desktop and any related files detected by SpyHunter.
  5. Initiate the uninstallation process. SpyHunter will remove Docker Desktop and its residues from your system, ensuring a clean and thorough deletion.
spyhunter can completely uninstall docker desktop application

By leveraging SpyHunter’s App Uninstaller feature, you benefit from an automated and detailed approach to uninstalling the Docker app from your Mac.

This method saves time and enhances your Mac’s performance and security by ensuring that no leftover files remain to clutter or compromise your system.

Remove Docker Desktop using the Terminal

For users comfortable with command-line tools, the Terminal offers a powerful method to uninstall Docker Desktop from your Mac.

This approach ensures a thorough removal of the application along with its components.

To remove Docker Desktop from your Mac using Terminal, enter the commands listed below into the Terminal window one by one, pressing the Return key after each command:

sudo rm -rf /Applications/Docker.app
sudo rm -rf ~/Library/Containers/com.docker.docker
sudo rm -rf ~/Library/Group\ Containers/group.com.docker
sudo rm -rf ~/Library/Application\ Support/Docker\ Desktop
sudo rm -f ~/Library/Preferences/com.docker.docker.plist
sudo rm -f ~/Library/Preferences/com.electron.docker-frontend.plist
sudo rm -rf ~/Library/Saved\ Application\ State/com.electron.docker-frontend.savedState
sudo rm -rf ~/.docker
sudo rm -f /usr/local/bin/docker
sudo rm -f /usr/local/bin/docker-compose
sudo rm -f /usr/local/bin/docker-compose-v1
sudo rm -f /usr/local/bin/docker-machine
sudo rm -f /usr/local/bin/docker-credential-desktop
sudo rm -rf /usr/local/lib/docker
sudo rm -f /usr/local/bin/hub-tool
sudo rm -f /usr/local/bin/hyperkit
sudo rm -f /usr/local/bin/kubectl.docker
sudo rm -rf ~/Library/Caches/Docker\ Desktop

After executing each command, restart your Mac to ensure all changes take effect and the Docker Desktop app is completely removed.

Using Terminal to remove Docker Desktop removes the application and cleans up any lingering files, ensuring a comprehensive cleanup.

This method is particularly beneficial for users seeking to maintain a lean and efficient system free from unused applications and their residuals.

Uninstall Docker Desktop using the Docker native uninstaller

Docker Desktop provides a built-in uninstallation option that simplifies the process directly within the application.

This method ensures that Docker Desktop and its components are removed efficiently.

Here’s how to use the Docker native uninstaller:

  1. Open the Docker Desktop app.
  2. Once Docker Desktop is open, look for the Bug icon at the window’s top-right corner. Click on this icon to access the settings and options.
  3. Select Uninstall in the troubleshoot menu that appears. Confirm that you want to proceed with the uninstallation when prompted.
uninstall docker desktop from the application

Using Docker Desktop’s native uninstaller is a straightforward and effective way to remove the application without manually searching for and deleting residual files and folders.

This method ensures that Docker Desktop is uninstalled cleanly, helping maintain your macOS’s overall health and efficiency.

Troubleshooting and FAQs

Here are some common issues and frequently asked questions related to uninstalling Docker Desktop on a Mac:

Why can’t I uninstall Docker Desktop from the Applications folder?

Docker Desktop is a complex application that installs additional components and files on your system. Simply dragging the app to the Trash may not completely remove all associated files and folders.

How do I remove residual Docker files and folders?

You can use the Terminal app to remove residual Docker files and folders. Use the sudo rm command to delete the Docker folder and its contents.

What is the difference between uninstalling Docker Desktop and removing Docker files and folders?

Uninstalling Docker Desktop removes the application while removing Docker files and folders deletes any residual files and folders left behind after uninstallation.

Can I reinstall Docker Desktop after uninstalling it?

Yes, you can reinstall Docker Desktop after uninstalling it. Simply download the latest version from the official website and follow the installation instructions.

Final thoughts

Congratulations, you have successfully deleted the Docker Desktop from your Mac!

By thoroughly following the steps outlined in the article, you ensure a complete removal without leaving behind residual files that could impact system performance.

For those seeking an extra layer of assurance, utility software like SpyHunter’s App Uninstaller can be invaluable. It offers deep scans to identify and eliminate any remnants or potential security risks.

Ultimately, the aim is a clean, optimized computer ready for your development needs.

Share this post on your favorite social media
Keep Your Mac Fast and Secure
Optimize your Mac and stay malware-free with SpyHunter

For a better understanding of our policies, please review our Free Trial Offer below, EULA, and Privacy/Cookie Policy.

SpyHunter Free Trial: Important Terms & Conditions

The SpyHunter Trial version includes, for one device, a one-time 7-day Trial period for SpyHunter 5 Pro (Windows) or SpyHunter for Mac, offering comprehensive malware detection and removal functionality, high-performance guards to actively protect your system from malware threats, and access to our technical support team via the SpyHunter HelpDesk. You will not be charged upfront during the Trial period, although a credit card is required to activate the Trial. (Prepaid credit cards, debit cards, and gift cards are not accepted under this offer.) The requirement for your payment method is to help ensure continuous, uninterrupted security protection during your transition from a Trial to a paid subscription should you decide to purchase. Your payment method will not be charged a payment amount upfront during the Trial, although authorization requests may be sent to your financial institution to verify that your payment method is valid (such authorization submissions are not requests for charges or fees by EnigmaSoft but, depending upon your payment method and/or your financial institution, may reflect on your account availability). You can cancel your Trial by contacting EnigmaSoft’s payment processor (identified in your confirmation email) or EnigmaSoft directly no later than two business days before the 7-day Trial period expires to avoid a charge coming due and being processed immediately after your Trial expires. If you decide to cancel during your Trial, you will immediately lose access to SpyHunter. If, for any reason, you believe a charge was processed that you did not wish to make (which could occur based on system administration, for example), you may also cancel and receive a full refund for the charge any time within 30 days of the date of the purchase charge. See FAQs.

At the end of the Trial, you will be billed upfront immediately at the price and for the subscription period as set forth in the offering materials and registration/purchase page terms (which are incorporated herein by reference; pricing may vary by country per purchase page details) if you have not timely canceled. Pricing typically starts at $72 for 3 months (SpyHunter Pro Windows) and $42 for 3 months (SpyHunter for Mac). Your purchased subscription will be automatically renewed in accordance with the registration/purchase page terms, which provide for automatic renewals at the then applicable standard subscription fee in effect at the time of your original purchase and for the same subscription time period, provided you’re a continuous, uninterrupted subscription user. Please see the purchase page for details. Trial subject to these Terms, your agreement to EULA/TOS, Privacy/Cookie Policy, and Discount Terms. If you wish to uninstall SpyHunter, learn how.

For payment on the automatic renewal of your subscription, an email reminder will be sent to the email address you provided when you registered before your next payment date. At the onset of your trial, you will receive an activation code that is limited to use for only one Trial and for only one device per account. Your subscription will automatically renew at the price and for the subscription period in accordance with the offering materials and registration/purchase page terms (which are incorporated herein by reference; pricing may vary by country per purchase page details), provided that you are a continuous, uninterrupted subscription user. For paid subscription users, if you cancel, you will continue to have access to your product(s) until the end of your paid subscription period. If you wish to receive a refund for your then current subscription period, you must cancel and apply for a refund within 30 days of your most recent purchase, and you will immediately stop receiving full functionality when your refund is processed.

For CALIFORNIA CONSUMERS, please see the notice provisions:
NOTICE TO CALIFORNIA CONSUMERS: Per the California Automatic Renewal Law, you may cancel a subscription as follows:

  1. Go to www.enigmasoftware.com and click the "Login" button at the top right corner.
  2. Log in with your username and password.
  3. In the navigation menu, go to "Order/Licenses." Next to your order/license, a button is available to cancel your subscription if applicable. Note: If you have multiple orders/products, you will need to cancel them on an individual basis.

Should you have any questions or problems, you can contact our EnigmaSoft support team by phone at +1 (888) 360-0646 (USA Toll-Free) / +353 76 680 3523 (Ireland/International) or by email at support@enigmasoftware.com.
How do you cancel a SpyHunter Trial? If your SpyHunter Trial was registered via MyCommerce, you can cancel the trial via MyCommerce by logging into the MyAccount section of MyCommerce (see your confirmation email for further details). You can also contact MyCommerce by phone or email to cancel. To contact MyCommerce via phone, you can call +1-800-406-4966 (USA Toll-Free) or +1-952-646-5022 (24x7x356). You can contact MyCommerce by e-mail at ordersupport@mycommerce.com. You can easily identify if your trial was registered via MyCommerce by checking the confirmation emails that were sent to you upon registration. Alternatively, all users may also contact EnigmaSoft Limited directly. Users can contact our technical support team by emailing support@enigmasoftware.com, opening a ticket in the SpyHunter HelpDesk, or calling +1 (888) 360-0646 (USA) / +353 76 680 3523 (Ireland/International). You can access the SpyHunter HelpDesk from SpyHunter's main screen. To open a support ticket, click on the "HelpDesk" icon. In the window that appears, click the "New Ticket" tab. Fill out the form and click the "Submit" button. If you are unsure of what "Problem Type" to select, please choose the "General Questions" option. Our support agents will promptly process your request and respond to you.

———

SpyHunter Purchase Details
You also have the choice of subscribing to SpyHunter immediately for full functionality, including malware removal and access to our support department via our HelpDesk, typically starting at $42 for 3 months (SpyHunter Basic Windows) and $42 for 3 months (SpyHunter for Mac) in accordance with the offering materials and registration/purchase page terms (which are incorporated herein by reference; pricing may vary by country per purchase page details). Your subscription will automatically renew at the then applicable standard subscription fee in effect at the time of your original purchase subscription and for the same subscription time period, provided you’re a continuous, uninterrupted subscription user and for which you will receive a notice of upcoming charges before the expiration of your subscription. Purchase of SpyHunter is subject to the terms and conditions on the purchase page, EULA/TOS, Privacy/Cookie Policy and Discount Terms.

———

General Terms
Any purchase for SpyHunter under a discounted price is valid for the offered discounted subscription term. After that, the then applicable standard pricing will apply for automatic renewals and/or future purchases. Pricing is subject to change, although we will notify you in advance of price changes.
All SpyHunter versions are subject to your agreeing to our EULA/TOS, Privacy/Cookie Policy, and Discount Terms. Please also see our FAQs and Threat Assessment Criteria. If you wish to uninstall SpyHunter, learn how.