Repository navigation
Docker engine does not start after update to 4.33.1 / issue with Docker Desktop Privileged Helper and elevation #14240
Copy link
Copy link
Open
Description
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
- Install docker 4.32 on Windows 11 (installer from docker website)
- Update docker to latest version shown in Docker Desktop (4.33.1)
- Start Docker Desktop
- Elevation request from Docker Desktop Privileged Helper pops up, clicking on yes closes it and docker engine tries to start, then immediately shuts down again and Docker Desktop Privileged Helper window appears again. Clicking No leads to wsl update error.
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
Client:
Version: 27.0.3
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.15.1-desktop.1
Path: /usr/local/lib/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.28.1-desktop.1
Path: /usr/local/lib/docker/cli-plugins/docker-compose
debug: Get a shell into any image or container (Docker Inc.)
Version: 0.0.32
Path: /usr/local/lib/docker/cli-plugins/docker-debug
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.2
Path: /usr/local/lib/docker/cli-plugins/docker-dev
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.25
Path: /usr/local/lib/docker/cli-plugins/docker-extension
feedback: Provide feedback, right in your terminal! (Docker Inc.)
Version: v1.0.5
Path: /usr/local/lib/docker/cli-plugins/docker-feedback
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v1.3.0
Path: /usr/local/lib/docker/cli-plugins/docker-init
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
Path: /usr/local/lib/docker/cli-plugins/docker-sbom
scout: Docker Scout (Docker Inc.)
Version: v1.10.0
Path: /usr/local/lib/docker/cli-plugins/docker-scout
WARNING: Plugin "/usr/local/lib/docker/cli-plugins/docker-scan" is not valid: failed to fetch metadata: fork/exec /usr/local/lib/docker/cli-plugins/docker-scan: no such file or directory
Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing infoDiagnostics ID
4D2EDD9D-1FB0-42E7-97D1-7363EB0FFA15/20240805142824
Additional Info
No response
Reacted by RuggMatt, Matthew Halloran, aetos, bigsk1, ryan.c, HOU Haixiang, Stefano Arlandini, Greg-Freeman, Lars Oehnenamen, Max Chan and 14 more
Activity
telsaleh commentedon Aug 5, 2024
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 ID
D594353A-A820-4B7E-B26F-1E146A9BDBF0/20240805184808
TotallyNotYT commentedon Aug 6, 2024
Having the same issue
Danyalalam commentedon Aug 6, 2024
same issue
28A128F9-4210-484E-A792-8872A6E0F3E4/20240806110933
andrea-reale commentedon Aug 6, 2024
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)
Pierstoval commentedon Aug 6, 2024
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 tried with your build @andrea-reale, but it didn't work either.
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 😅
Danyalalam commentedon Aug 6, 2024
Hey, i just reinstalled the docker and its fixed now
andrea-reale commentedon Aug 6, 2024
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.
telsaleh commentedon Aug 6, 2024
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
egbakou commentedon Aug 7, 2024
I encountered the same issue.
Installing version 4.33.0 worked for me(workaround)
Pierstoval commentedon Aug 7, 2024
@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
%HOME%/.wslconfigfile:I also have the
failed to unregister WSL docker-desktop distro: Accès refusé.error now when I want to refresh WSL's integration in the Settings > Resources > WSL Integration panel.21 remaining items
bdkuhman commentedon Aug 22, 2024
@andrea-reale,
Thanks!
Dev build fixed UAC issue,
Docker's still failing to start.
With kernel 6.6
error spotted in wslbootstrap log: "[2024-08-22T16:28:26.142128706Z][wsl-bootstrap][F] exit status 32"bundle
685A9D10-74D9-48FC-AC3E-033962CD07CD/20240822163021With kernel 6.1
error spotted in wslbootstrap log: "[2024-08-22T16:37:23.953265555Z][wsl-bootstrap][F] mounting /lib/modules to /tmp/docker-desktop-<USER>/lib/modules: no such file or directory"bundle
685A9D10-74D9-48FC-AC3E-033962CD07CD/20240822163732both wsl 2.2.4.0 and 2.3.17.0
EDIT:
this comment helped with modules not being found in 6.1; but I'm still getting exit status 32 with kernel 6.6.
skiesewetter-intershop commentedon Aug 23, 2024
At least on Windows a system restart seems to fix the problem. Afterwards Docker Desktop and the docker engine are starting properly.
matsgf commentedon Aug 23, 2024
For me it fails the first time with the message wsl update failed.
Second time i start docker desktop it starts ok...
agray commentedon Aug 27, 2024
Why is this issue dragging on for so long?
tobesucht commentedon Aug 28, 2024
For me purge data & factory reset helped to fix the problem.
hewittmwork commentedon Sep 5, 2024
Why no solution yet!?
hewittmwork commentedon Sep 5, 2024
This is all I am getting in the report log.
1725554399-13270dff1bd40864e018aab7ce955e2470b4dabf4e994d1d6959e70b4502fdc285eb691ed8fd7b8a8dd270463bcc72f0cd99c978221e70c440dca94bbae070c7
andrea-reale commentedon Sep 5, 2024
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.
agray commentedon Sep 5, 2024
Why can't you just fix the problem??
kimwuchen commentedon Sep 8, 2024
It really works in my lab, thanks my friend.
zcla commentedon Sep 20, 2024
I tried many solutions shown here, but that's the only one that worked: downgrade to 4.33.0.
oureveryday commentedon Oct 25, 2024
Same on kernal 6.6
nuil commentedon Dec 17, 2024
We're having the same issue with 4.35.1.
We have upgraded to 4.36.0 to see if the error still happens.
zcla commentedon Dec 17, 2024
Upgrading to the brand new 4.37.0 worked for me.
oureveryday commentedon Dec 17, 2024
Still not work for me on kernel 6.6.36.6