Actual behavior
"An error occurred" pop-up appears when attempting to switch to Windows containers from a fresh install with the following log:
Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
at Docker.Backend.Processes.WindowsDockerDaemon.TryToStartService(Settings settings, String args, Dictionary`2 env) in C:\workspaces\master-merge\src\github.com\docker\pinata\win\src\Docker.Backend\Processes\WindowsDockerDaemon.cs:line 208
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_1.<GetExecutor>b__0(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext()
Expected behavior
Windows containers are available for execution after selecting "Switch to windows containers"
Information
This is a new problem since upgrading to 3.6.0. Uninstalling, rebooting and reinstalling does not solve the issue.
- Windows Version: Windows 10 Pro 21H1 build 19043.1165
- Docker Desktop Version: 3.6.0
- WSL2 or Hyper-V backend? WSL2
- Are you running inside a virtualized Windows e.g. on a cloud server or a VM: on bare metal
Steps to reproduce the behavior
- Install Docker Desktop 3.6.0 on windows 10
- Start Docker Desktop
- Select "Switch to windows containers" from the tray app
Actual behavior
"An error occurred" pop-up appears when attempting to switch to Windows containers from a fresh install with the following log:
Expected behavior
Windows containers are available for execution after selecting "Switch to windows containers"
Information
This is a new problem since upgrading to 3.6.0. Uninstalling, rebooting and reinstalling does not solve the issue.
Steps to reproduce the behavior