-
Notifications
You must be signed in to change notification settings - Fork 292
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 engine does not start after update to 4.33.1 / issue with Docker Desktop Privileged Helper and elevation #14240
Comments
Same problem with version 4.33.1 (on Windows 11). Tried also running as Admin, but dashboard just keeps looping between Docker Starting and Stopping. Diagnostics IDD594353A-A820-4B7E-B26F-1E146A9BDBF0/20240805184808 |
Having the same issue |
same issue |
Hey all, I have shared a development build that should avoid this loop of "WSL Update required" prompts #13806 (comment). Feel free to try that out and report any feedback! (Please, also note that custom WSL2 kernels are not officially supported in Docker Desktop - some of the diagnostics shared in this and other threads point to that as a common source of the problem) |
I have the same kind of issue: just updated, now Docker doesn't start. I rolled back to 4.32.0 and it doesn't start either (while it was 4.32.0 yesterday and it worked perfectly). I'm starting to rip my hair out of my head, so I'll take a rest and come back after that, maybe I'll have fresh ideas on how to fix this 😅 |
Hey, i just reinstalled the docker and its fixed now |
Hey @Pierstoval , please do not rip your hair off your head! Do instead upload and share a diagnostics bundle if you can, and we'll happily take a look. |
Thanks @andrea-reale. Tried with your build but now I get another error. Sounds like a factory reset might be required, but would rather check first before destroying all the containers. Diagnostic ID: D594353A-A820-4B7E-B26F-1E146A9BDBF0/20240806200453 |
I encountered the same issue. |
@andrea-reale I reinstalled v4.33.1, went to the "Troubleshoot" settings tab, purged data and reset to factory defaults
Docker engine doesn't start, so here's the diagnose check output: Click to expand
Also, here's my
I also have the |
@telsaleh thanks for uploading your diagnostics. From the logs, I can see a WSL2 error that says:
It looks like WSL2 cannot find the disk backing the |
@Pierstoval, can you please share the diagnostics ID (it's a string similar to: This is generated by going in the |
@andrea-reale Yep, here it is: I can run other diagnostics if you need, because it's heavily changing, sometimes I have different errors... (rip hair from head, etc. 😂). I just restarted it and got |
Hey @Pierstoval, from the logs I see that the problem is related to the fact that you have IPv6 disabled in your wsl config: (
Is that something that you (or your company administrator, if any) recently changed? |
I've been using this for years, as ipv6 is not supported everywhere, and I had issues with it enabled in the past. I wonder why it would suddenly break things right now 🤔 EDIT: Oh my. I re-enabled ipv6 and it now starts. With the latest version 😱 I'm gonna check lots of things to see if my projects work on it (though I have to re-download all images and reinstall all the projects I'm working on 😑) EDIT 2: apparently, my main project works... 😱 |
Docker doesn't work anymore since 12. Juli '24. It worked for 2 Years, now it stucks in engine starting. Nothing helped, updates, new installation, Whats wrong? |
Same thing, going to try uninstalling and reinstalling. Bad update |
this works |
same issue, doesn't start and just keeps asking for previledge helper in a loop. wsl --update which I run and is already up to date dia ID EDIT: solved by commenting out in wslconfig [wsl2]
# kernel=C:\\Users\\dragon\\bzImage-5-15-153-1 |
@bigsk1 for the record, I think custom kernels are kinda experimental in WSL |
I say custom but I mean latest from wsl github repo and complied, after 2 years without a wsl update nativly had to take measures. I think there was something specfic at the time and needed above a certain kernel in order to work. Such is life.. |
Thanks @andrea-reale for pointing this out. I recently had to move docker to another drive, and hence the problem. A rename of the file fixed the issue. N.B: Probably worth confirming that on my other (unadministered) machine , it worked fine without the need for the special updated version. |
This might be rough for users who are utilizing custom kernels in order to address #12944 / carlfriedrich/wsl-kernel-build#1 - that defect requires the selection of a custom kernel to avoid excessive memory usage. Is anyone else here encountering this issue not also using custom kernels? |
Yes, I'm using vanilla wsl (as far as I'm aware, never intentionally set a custom kernel) |
Yes, I am now experiencing this and am not using a custom kernel (I don't even have a .wslconfig). |
Getting this too.
|
Installing the latest version of WSL helped me get Docker Desktop running. |
Where and how did you re-enable ipv6? (windows, docker, wsl2?) |
To enable/disable ipv6 in WSL, edit to your
The example above will disable ipv6. In my setup, I had it disabled and when I removed this line of config, it fixed the issue. (though I still don't understand why) |
Same issue after updating to 4.33.1 (161083) Was previously running 4.32 fine Updated to WSL 2.3.17, WSL kernel 6.6, then docker, and rolled back to WSL 2.2.4 and kernel 6.1.21.2 When docker starts, it keeps asking for the UAC for Running docker with privilege has docker constantly starting and stopping in a loop. 685A9D10-74D9-48FC-AC3E-033962CD07CD/20240822135617 |
@bdkuhman , please see this comment and let me know if that helps. |
@andrea-reale, With kernel 6.1 both wsl 2.2.4.0 and 2.3.17.0 EDIT: |
At least on Windows a system restart seems to fix the problem. Afterwards Docker Desktop and the docker engine are starting properly. |
For me it fails the first time with the message wsl update failed. |
Why is this issue dragging on for so long? |
For me purge data & factory reset helped to fix the problem. |
Why no solution yet!? |
This is all I am getting in the report log. |
Hey there, please try out Docker Desktop 4.34.1 (download page), and let us know if the issue with WSL Updates and Privilege Helper loops continues. |
Why can't you just fix the problem?? |
It really works in my lab, thanks my friend. |
I tried many solutions shown here, but that's the only one that worked: downgrade to 4.33.0. |
Same on kernal 6.6 |
Description
After updating Docker Desktop from 4.32 to 4.33.1 the engine does not start anymore. During the start attempt a "Docker Desktop Privileged Helper" tries to install something / requests elevation. When granted, the engine start goes directly over to engine shutdown. The engine tries to restart after the shutdown, resulting in again the "Docker Desktop Privileged Helper" request.
Denying the request leads to an error message that an wsl update failed and Docker Desktop closes.
Uninstalling 4.33.1 and reinstalling 4.32 works.
Reproduce
Expected behavior
Docker Desktop Privileged Helper window should close after clicking on yes
docker version
Client: Version: 27.0.3 API version: 1.46 Go version: go1.21.11 Git commit: 7d4bcd8 Built: Sat Jun 29 00:01:25 2024 OS/Arch: linux/amd64 Context: default Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
docker info
Diagnostics ID
4D2EDD9D-1FB0-42E7-97D1-7363EB0FFA15/20240805142824
Additional Info
No response
The text was updated successfully, but these errors were encountered: