Description
[ x] I have tried with the latest version of Docker Desktop You're up to date [Docker Desktop 4.40.0 (187762)]
[ x] I have tried disabling enabled experimental features
[ x] I have uploaded Diagnostics
Diagnostics ID: AA192183-F4F0-47A1-8F97-C692A0F25013/20250508123135
Actually this is an Extension of the old case #11899
Actual Behaviour
Docker engine crashes when only switching to windows
Docker Desktop encountered an unexpected error and needs to close.
reconciling docker service: configuring privileged service: starting service: pinging com.docker.service: context deadline exceeded
System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed. at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout) at Docker.Backend.Proces...
"[IPC build.buildBackendGetBuildersStream] connect ENOENT \\\\.\\pipe\\dockerDesktopBuildServer"
Information
A reproducible case if this is a bug, Dockerfiles with reproduction inside is best.
no docker files, I just switched the platforms to windows right clicking on the docker icon in the hidden/running area and selecting "Switch to Windows containers..."
Reproduce
select the option 'Switch to Windows containers.'
Expected behavior
Should create windows based container once switched to 'Switch to Windows containers.' option
docker version
Docker version 28.0.4, build b8034c0
docker info
Client:
Version: 28.0.4
Context: desktop-windows
Debug Mode: false
Server:
ERROR: request returned 500 Internal Server Error for API route and version http://%2F%2F.%2Fpipe%2FdockerDesktopWindowsEngine/v1.48/info, check if the server supports the requested API version
errors pretty printing info
Diagnostics ID
AA192183-F4F0-47A1-8F97-C692A0F25013/20250508123135
Additional Info
Tried couple of different ways and gone through multiple documents but this makes trouble for the docker to create windows based containers.
Also tried couple of times for 'Reset to factory defaults' but no positive results.
Description
[ x] I have tried with the latest version of Docker Desktop You're up to date [Docker Desktop 4.40.0 (187762)]
[ x] I have tried disabling enabled experimental features
[ x] I have uploaded Diagnostics
Diagnostics ID: AA192183-F4F0-47A1-8F97-C692A0F25013/20250508123135
Actually this is an Extension of the old case #11899
Actual Behaviour
Docker engine crashes when only switching to windows
Docker Desktop encountered an unexpected error and needs to close.
reconciling docker service: configuring privileged service: starting service: pinging com.docker.service: context deadline exceededSystem.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed. at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout) at Docker.Backend.Proces..."[IPC build.buildBackendGetBuildersStream] connect ENOENT \\\\.\\pipe\\dockerDesktopBuildServer"Also some similar behaviour from Docker Desktop on Windows crashes when Switching from Linux to Windows platforms (timeout) #11901.
As stated the solution of C:\ProgramData\Docker\panic.log, changing the status of readonly, But in my system there is no file named panic.log or panic.txt or any other log /txt file which is readonly.
Information
Is it reproducible?
on my machine yes : keeps happening, despite I also tried changing (downgrading) the docker version
Is the problem new? NO
I found some threads (one year old) regarding similar issues
Crash while switching from Linux to Windows containers #11899
Docker fails to start after v3.0.0 upgrade #9755
"Timeout has expired" when switching to Windows containers #1898
Switching to Windows Containers Crashes Docker Desktop #8634
https://forums.docker.com/t/switching-to-windows-container-crash/80610
... and many other....
Did the problem appear with an update?
no rather only when switching to windows based container
A reproducible case if this is a bug, Dockerfiles with reproduction inside is best.
no docker files, I just switched the platforms to windows right clicking on the docker icon in the hidden/running area and selecting "Switch to Windows containers..."
Did it worked sometimes?...
First the optiona of switching was not avaialbe so I reinstall the docker desktop then I got the option to switch.
Windows Version:
Win 11 Enterpr, 23H2 Build 22631.5189
Docker Desktop Version:
4.4.0 ... reinstalled many times...
WSL2 or Hyper-V backend?
Hyper-V
Are you running inside a virtualized Windows e.g. on a cloud server or a VM:
No, I am on a physical machine (Lenovo W7, 32 GB RAM, 2+2 TB ssd, intel 8700K, nvidia geforce 1080, windows fresh install, Visual studio installed...)
Steps to reproduce the behavior
On my machine, trying to change the containers type (from linux to windows) is enough
Reproduce
select the option 'Switch to Windows containers.'
Expected behavior
Should create windows based container once switched to 'Switch to Windows containers.' option
docker version
docker info
Diagnostics ID
AA192183-F4F0-47A1-8F97-C692A0F25013/20250508123135
Additional Info
Tried couple of different ways and gone through multiple documents but this makes trouble for the docker to create windows based containers.
Also tried couple of times for 'Reset to factory defaults' but no positive results.