-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker for Mac hangs while starting up. Stuck on "Docker Desktop is Starting" #5113
Comments
I ran into this same issue. Resetting to factory defaults resolved it for me. From the docker menu click |
Same here. Factory reset helps, but that's the last thing what I wanted to do. |
The same thing has been happening to me but starting with version 3.0.0 and also after the update to 3.0.1 Mac Version: 10.15.7 | Diagnostics ID: B842B454-F385-4603-8534-A8ABFAB4A4B2/20201214070142 |
Then you have to recreate all your containers. |
Happened to me too after this workaround attempt. 3.0.1, 3.0.0, 2.5.0.1 and 2.5.0.0 all have the same issue. Only downgrading to 2.4.0.0 worked for me. |
Seems like it wasn't a Docker issue on my side, but rather the antivirus was blocking/throttling Docker |
Same for me. but the corporate firewall and antivirus (McAfee) resets once every x minutes. It also throttles my internet speed and pushes to the internal docker registry. What did you do/add to the antivirus to fix it? I was not able to add /var/lib/docker to the scanning exceptions. I've added the containers from Library to the scanning exceptions as per the official documentation . I've added the whole docker app to the firewall allow list for both inbound and outbound, for any IP, any Port. |
@colceagus well, it also McAfee on my side and I don't have the slightest clue on what needs changing What (I think) I can tell is that the Firewall seems to affect the network connection and not the files themselves. I also had a drop in internet speed to a 0.5MB/s from about 10MB/s at a point |
Hi folks, can someone upload a newer diagnostics ID ? |
@tudoramariei Thanks for mentioning the McAfee firewall! I was facing the same issues, Docker Desktop would stay in starting forever, and what fixed it for me was opening up the McAfee firewall for the Docker application. I had tried the factory reset, but it didn't help at all. Once I monkeyed with the firewall settings it started working right away... |
I've found a workaround to get docker 3.2.0 working on Mac Catalina 10.15.7 since the first docker startup.
For me, this workaround solves the issue. |
I'm doing this in Mojave 10.4.6.
It's working, thank you very much. |
Re-installing worked for me |
I another user on my computer and while logged in as that use Docker started just fine. That gave me the clue. Removing the |
How long is the reset to factory defaults supposed to take? mine has been running for 20+ minutes now and no new pop-ups have.... popped up. |
I'm not sure if what I experienced was exactly what was happening here, but for anyone else stumbling upon this thread via Google search, like I did, the issue for me was that Docker Desktop was never prompting me to accept their new terms of service. It took me restarting Docker itself a couple of times and even restarting my machine for it to pop up, though even then it wasn't popping up. When it did eventually show up and after accepting it, it started successfully and showed me all my containers. I have no idea what I did to make it finally show itself, but when it did, it started working as expected. So I guess double check that somehow before you commit to factor resetting or reinstalling and potentially losing your containers. |
This was the issue for me this morning, how silly an issue. |
Just came to say that this whole situation is MIND BLOWINGLY UNACCEPTABLE. Between the ridiculous new TOS and the broken functionality, I'm so disappointed in docker for mac and the way it treats its users. |
My issue is that I cannot have docker auto-starting on log in. When I reboot my iMac, i get a popup, that I cannot close, telling me docker failed to start. Eventually CleanMyMac tells me there is a non-responding app 'docker', if I then close it, and restart it, it works fine. Happens every reboot. Docker desktop: 4.1.1 (69879) |
This is the second time in the past month or so I've had Docker break while updating and need to reinstall.
Docker Desktop 4.1.1 I don't remember what version Docker Desktop was for the first incident. |
I also had this issue due to low memory in my machine. Clean extra files then docker is all-set. |
I had this issue after an update, but it resolved itself by: Quit Docker Desktop, Manually Kill com.docker.hyperkit (Force Quit), then restarting Docker Desktop. |
Docker started rapidly flipping between Starting and Stopping after updating to Docker Desktop (Mac) 4.2.0 (70708). |
With 4.3.0 (71786), This happens. . On the console, |
Rebooting may MAC solved the issue |
Docker hangs on "Starting..." "Stopping..." OS: Mac Monterey, 12.1, M1 Pro chip No solution works until RESET TO FACTORY. |
@public-rant I have a kill switch enabled for my VPN too, although it seemed to be working with Docker most of the time. So I'm not sure what's going on there. |
I deleted ~/Library/containers/com.docker.docker/backend.lock. It seems to be working for me. |
On top of that I had to disable the "Kill switch" of my VPN client. Looks like it's working now...fingers crossed! |
Nope. False alarm. It's still hanging, crashing and definitely not solved...had to uninstall and reinstall AGAIN for the 100th time...no clue what's going on Docker Desktop 4.13 |
Same issue here, gets stuck everytime. Uninstalled and reinstalled. |
I'm experiencing this when I startup my pc, docker is configured to run on startup but for some reason it takes forever and seems to be stuck on starting. |
Same issue here, stuck on starting. Uninstalled and reinstalled, no success. |
4.14 not working too Revert to 4.12 works |
Just encountered the issue on 4.13.1 - Docker suddenly stopped working and refused to restart. I honestly can't believe this is the "quality" that Docker deems acceptable. As of now I'm eliminating Docker from my toolchain. It's not worth the trouble. |
I'm using 4.14.1 on macOS Ventura (13.0.1) and facing this issue. "Reset Docker to factory defaults" doesn't work as a workaround. The only thing that works for a while is rebooting, which is unacceptable. Is there a way to download previous version bits? On the Docker website the only option seems to be to download only the latest. |
Click the docker icon => Troubleshoot => Reset to defaults & clear cache |
This is only a band-aid since the same problem will recur. Plus, any "solution" that deletes data or settings is a massive red flag. Why would I ever trust anything important to Docker considering that? Frankly, Docker needs to mark their Mac software as "pre-alpha" to establish more reasonable expectations. Claiming that they "support" the Mac is false advertising. |
Nothing but restart OS worked for me. |
I was trying to apply the new So I did:
|
So I finally managed to solve this by uninstalling Docker Desktop and switch to colima instead.
Voila, |
You are a rock star!!! thanks. This worked for me |
@oluwaseye Your reply was very helpful - thank you! I'm using Monterey 12.6 with the Apple chip and I had to add a few steps to what you described.
Then I downloaded Docker from the website and it started working. |
I had this same issue on a Mac M1, I was so patient to follow this steps:
|
I also tried re-installing Docker. During the re-installation, I noticed a release note that says docker won't work when virtual box is installed. After Virtual Box was uninstalled, the project started fine. |
I have been stuck on an old Docker Desktop version (4.8.1) for the past year because every new version hangs when starting for me on my M1 macbook. I noticed I hadn't updated my macOS in a while. I updated to latest macOS 13.4.1 and then updated to latest Docker Desktop 4.21.1 and Docker Desktop started successfully! So my solution seemed to be getting to a latest macOS version |
For me it started working after I downloaded Docker from their official website. Installing with homebrew caused it to stuck |
For me, it started working after I purged everything manually... I used Since my setup is easy to reproduce I did not mind to start fresh again. |
This worked for M1, Ventura
|
same issue, reset works but it will happen again |
wow!!! 4 years old issue still happening on a paid platform |
User on M2, Sonoma 14.5 here. |
Expected behavior
Docker starts up
Actual behavior
Docker doesn't start and just hangs with the "Docker Desktop is Starting" message.
Information
Diagnostic logs
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: