Docker "starts" first time with error, then a restart of docker is needed to run it
Sorry if this here is duplicated. Unfortunately, due to the large number of reported errors, I can hardly narrow down the search
So first time starting docker runs into an error, but can be resolved by restarting it (description below) - okay it's working but do i have to do it really every time? PS: my colleagues have the same problem (other hardware)
- [ x ] I have tried with the latest version of Docker Desktop
- [ x ] I have tried disabling enabled experimental features
- [ x ] I have uploaded Diagnostics
- Diagnostics ID: A78660BB-30EB-493A-80D1-CA273ADE6BDA/20210708065553
Actual behavior
I start my PC, i start docker desktop, i wait till the docker icon in the taskbar turns red and an error is thrown i rightclick on the docker icon in the taskbar and press restart - now docker is working
Expected behavior
i just start docker desktop -> docker runs
Information
- Windows Version: Windows 10 Pro (21H1) -> with former Versions it happens too
- Docker Desktop Version: 3.5.1 (66090)
- WSL2 or Hyper-V backend? WSL2
- Are you running inside a virtualized Windows e.g. on a cloud server or a VM: OnPrem, no VM
Steps to reproduce the behavior
do it like i write in "actual behavior"
System.InvalidOperationException:
Der Dienst docker kann nicht auf dem Computer . gestartet werden.
bei System.ServiceProcess.ServiceController.Start(String[] args)
bei Docker.Backend.Processes.WindowsDockerDaemon.TryToStartService(Settings settings, String args, Dictionary2 env) in C:\workspaces\PR-16024\src\github.com\docker\pinata\win\src\Docker.Backend\Processes\WindowsDockerDaemon.cs:Zeile 208.
bei System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_1.
System.ComponentModel.Win32Exception: Es wird bereits eine Instanz des Dienstes ausgeführt`
Update - yesterday i had to kill all my containers because of a windows update. i had several containers - some with hyper-v, some with process-isolation. now i just got some containers with process-isolation and no problems with starting docker the first time o_O. A colleague of mine said it might work if you stop the containers before shutting down the PC, but I haven't tried that yet.
Update - again with hyper-v it's not starting at the first try
Issues go stale after 90 days of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30 days of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked