Docker Desktop for Windows crashes after upgrading to 4.24.1
Description
After upgrading to DfW 4.24.1 yesterday, and first real use after rebooting this morning, I found twice, so far, that Docker had crashed somewhat silently (there were popup error messages, but they opened behind other windows, so I did not see them right away).
The first indication of the error was when running docker ps, I received the response "request returned Internal Server Error for API route and version http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json, check if the server supports the requested API version". Afterwards, I spotted the popup (but did not capture it); it indicated that Docker had exited unexpectedly.
The second time it occurred was when I also ran docker ps (after having restarted DfW, of course). This time, the message was "error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json": open //./pipe/docker_engine: The system cannot find the file specified."
I was able to capture the second popup error dialog (attached) which read:
Something went wrong
Starting WSL engine: starting WSL engine: 1 error occurred: * waiting for docker daemon: context deadline exceeded
I ran "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" gather -upload as per the instructions in https://docs.docker.com/desktop/troubleshoot/overview/#diagnose-from-the-terminal, and the Diagnostics ID appears below.
I have not experienced this particular error with any prior DfW releases.
Reproduce
Run DfW 4.21.1 as normal.
Expected behavior
No crashes.
docker version
Client:
Cloud integration: v1.0.35+desktop.5
Version: 24.0.6
API version: 1.43
Go version: go1.20.7
Git commit: ed223bc
Built: Mon Sep 4 12:32:48 2023
OS/Arch: windows/amd64
Context: default
Server: Docker Desktop 4.24.1 (123237)
Engine:
Version: 24.0.6
API version: 1.43 (minimum version 1.12)
Go version: go1.20.7
Git commit: 1a79695
Built: Mon Sep 4 12:32:16 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.22
GitCommit: 8165feabfdfe38c65b599c4993d227328c231fca
runc:
Version: 1.1.8
GitCommit: v1.1.8-0-g82f18fe
docker-init:
Version: 0.19.0
GitCommit: de40ad0
docker info
Client:
Version: 24.0.6
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.11.2-desktop.5
Path: C:\Program Files\Docker\cli-plugins\docker-buildx.exe
compose: Docker Compose (Docker Inc.)
Version: v2.22.0-desktop.2
Path: C:\Program Files\Docker\cli-plugins\docker-compose.exe
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.0
Path: C:\Program Files\Docker\cli-plugins\docker-dev.exe
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.20
Path: C:\Program Files\Docker\cli-plugins\docker-extension.exe
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v0.1.0-beta.8
Path: C:\Program Files\Docker\cli-plugins\docker-init.exe
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
Path: C:\Program Files\Docker\cli-plugins\docker-sbom.exe
scan: Docker Scan (Docker Inc.)
Version: v0.26.0
Path: C:\Program Files\Docker\cli-plugins\docker-scan.exe
scout: Docker Scout (Docker Inc.)
Version: v1.0.7
Path: C:\Program Files\Docker\cli-plugins\docker-scout.exe
Server:
Containers: 7
Running: 7
Paused: 0
Stopped: 0
Images: 19
Server Version: 24.0.6
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 8165feabfdfe38c65b599c4993d227328c231fca
runc version: v1.1.8-0-g82f18fe
init version: de40ad0
Security Options:
seccomp
Profile: unconfined
Kernel Version: 5.15.90.1-microsoft-standard-WSL2
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 12
Total Memory: 15.54GiB
Name: docker-desktop
ID: eb002bd4-f34f-4ff2-bdc6-67cee1c5f6ae
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http.docker.internal:3128
HTTPS Proxy: http.docker.internal:3128
No Proxy: hubproxy.docker.internal
Experimental: false
Insecure Registries:
hubproxy.docker.internal:5555
127.0.0.0/8
Live Restore Enabled: false
WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
WARNING: daemon is not using the default seccomp profile
Diagnostics ID
4040967F-3D20-4073-8188-A932CEDE10BC/20231007164223
Additional Info
No response
upgraded from 4.21.x to 4.24.1 this morning and observing the very same thing
just the error pop-up looks different - perhaps because its on Windows 11
output of docker version and docker info shows same things as above, only that mine is missing the "Server" part.
same here. Win 11, updated to 4.24.1 totally busted.
Yes me too. had used Docker in May, went to setup and it installed this and this is the error I got also, rebooted, reinstalled, same. ran diagnostics and saw the link here in the instructions. hopefully theres a way to install an older version am using win10, 64bit, worked before. WSL error like in the capture.
hopefully theres a way to install an older version
downgrade is not supported, afaik.
if you can uninstall, older versions can be downloaded here https://docs.docker.com/desktop/release-notes/
(I do not dare to uninstall as i am afraid losing locally build images I put quite a lot worktime into and I understand the uninstall would wipe the local registry - totally trapped, I went back to Linux and podman)
4.24.2 (124339) appears to fix this issue
(while nothing is mentioned in the fixes bullet points - I dont know if a fix is in it of something else caused it and is now gone for whatever reason)
Is this now in the current download? 124339 ? is it a downloadable patch?
On Wed, Oct 18, 2023 at 8:47 AM x3nb63 @.***> wrote:
4.24.2 (124339) appears to fix this issue
(while nothing is mentioned in the fixes bullet points - I dont know if a fix is in it of something else caused it and is now gone for whatever reason)
— Reply to this email directly, view it on GitHub https://github.com/docker/for-win/issues/13727#issuecomment-1768380553, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLIF4ILH3WHLFLCZ3CE2J3X77FWVAVCNFSM6AAAAAA5XCIOKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRYGM4DANJVGM . You are receiving this because you commented.Message ID: @.***>
i used the download from the release-notes page above and that number is what the installer says in addition to the version