-
Notifications
You must be signed in to change notification settings - Fork 289
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
Endless "Docker desktop stopping" #12576
Comments
Same here with Docker Desktop 4.5.1 running on an Win 10 Pro Azure VM. On startup it says that WSL is missing, but then is stuck in |
Hi @Eugentis, If you want to switch to Hyper-V you can edit the We're looking how we can improve the settings and unblock them for such tasks. |
Thanks @StefanScherer But disabling app settings is not the best solution in real world. It should be available independent on Docker engine status |
Also having this issue, with same version of Docker on Win 10. |
@ajay16bharadwaj it works if your dashboard is active |
Facing same issue ..Any fix for this? |
@sreepriyadeepak2021 |
1.download this soft from https://docs.microsoft.com/en-us/sysinternals/downloads/rammap |
I have tried every thing still i am unable to open the docker it is stuck on docker desktop stopped...... Any help? |
Try to update the WSL (.msi extension). after installing this app is working fine. |
I have tried latest Docker
|
Faced the same problem. Restarted my pc and it started working. |
Após executar esse comando e reiniciar a máquina, o docker desktop funcionou corretamente! After running this command and restarting the machine, docker desktop worked correctly |
Make sure after Docker For Desktop (Windows) installation thatWSL (Windows subsystem for Linux) is installed. It is solved my issue. |
This worked for me, Thanks. |
Hi, I also ran into this problem, I don't know exactly what happened, But I think it should be wsl that went wrong, because my wsl can't be opened; After I referred to this answer, I did a reset of the network. I executed the following two commands:
|
This work for me as well ...
|
I ran into this problem today. Here were the list of things I tried but didn't work:
At least point I found that my WSL was broken by trying to get Docker to work. The fact that Docker destroyed my WSL really pissed me off because I relied on WSL to do all the source |
Already did and still not working. |
Try following.
|
To resolve this issue, as shown in dialog “Docker Desktop – Install WSL2 kernel update” we need to download from the reference link mentioned in dialog – https://aka.ms/wsl2kernel Install the WSL2 kernel update then restart Docker. This should work |
Either Docker or Windows should do something for this. None of the solution is working for me. |
I am experiencing the same issue and trying to resolve that issue as at the moment. |
same issue m1 mac pro |
Same issue here on Windows 11. It was working fine the whole day, and it suddenly crashed. I tried the following:
Before the upgrade, the application was stuck on "Stopping Docker".
Workaround:
|
Damn so many people out there are facing this issue. Solution: |
The solution is simple if you are on Windows 10/11 using "Dockers Desktop for Windows" When Dockers Desktop for Windows installs it looks like it does not bother to check the OS being used and defaults to "Linux Containers". This fails on Windows 10 or 11 and causes the "Docker Is Starting" freeze. (I also saw numerous uncaught Promise errors in the docker logs related to this, too). To fix this, simply go to your Notifications/System Tray area of Windows in the lower right-hand corner of the screen, click the dockers "whale" icon, and in the pop up context menu choose "Switch to Windows containers...". The Dockers software immediately resolves for Windows users and asks you to create a Dev Environment. https://stackoverflow.com/a/75105105/5555938 Docker Desktop 4.16.0 |
C:\WINDOWS\system32>wsl -l -v
NAME STATE VERSION
* Alpine Stopped 2
docker-desktop-data Stopped 2
Ubuntu-22.04 Stopped 2
docker-desktop Installing 2
|
I'm not 100% sure, but I believe all you did here was tell it to ignore your problem with WSL. This doesn't help fix the actual issue. |
If anyone is still facing this issue. This solution will work:- I fixed this issue by enabling SVM(Secure Virtual Machine) in my bios OC explorer advanced settings. That solves the problem and docker will start running. |
TL;DR: If you can, just ditch Docker Desktop for Windows, and just run docker through your preferred WSL2 distro. I decided to just uninstall Docker Desktop. It chews up a ton of additional resources, works intermittently, doesn't provide any functionality that I can't get elsewhere, would consume a ton of CPU after awaking from Hibernate, and had too many caveats that I'd had to work around for too long. If you don't actually need any of the features of Docker Desktop, or need to use Windows containers, then I'd recommend just installing vanilla docker on your WSL2 OS of choice, and working with the I know it's a pain, and probably not what people are looking for from a response to this issue, but I've really found it much simpler in the long run. |
This fixed my issue as well. Of note, I actually am running WSL1, not WSL2, and need to use WSL1 for localhost loopbacks. I suspect there is some wacky behavior between WSL1 and Docker Desktop, though it wasn't consistently broken (just at the worst times, of course). If you need to stay on WSL1, definitely try flipping back to Hyper-V with the config change. |
Definitely connected to hibernation. This happens on multiple machines I own. After first hibernation, it just slows down to a crawl. Stating / Stopping containers takes ages. Rebooting the Docker Windows doesnt help - reboot gets stuck. Rebooting the machine helps resolve this. This issue started to happen after V4 Docker Desktop - makes it impossible to work on machine without rebooting it all the time. |
Are you using dev containers in vscode using this setup? |
|
I'm using windows server 2019, in which there are multiple accounts. The solution was to copy the AppData/Roaming/Docker" and "AppData/Roaming/Docker Desktop" from my main account, into my secondary account, tried multiple things and this was the only one that worked. |
The only thing that works for me is running this in PowerShell (Admin): taskkill -IM "wslservice.exe" /F |
Combining this with the wsl --update worked #12576 (comment) |
if every update jeopardizes existing containers then the entire pursuit is for the birds |
Actual behavior
Docker Desktop freeze at
Docker Desktop stopping
.Expected behavior
Information
Several months I didn't use Docker at Windows 10 Pro(v.4.2). Today I've tried to start it. It freezes at "Docker Desktop starting" stage.
I've tried to remove and install Docker Desktop. As I understand it tries to start at WSL2 (Why you can't ask it at install stage?)
How can I switch it to Hyper-V mode if it can't start?
Why setting are not available while full app with all containers will be loaded?
The text was updated successfully, but these errors were encountered: