I installed the latest update this morning (4.13.0). When I tried to launch afterwards it presented an error dialog that says “Docker failed to initialize Docker Desktop is shutting down.”
Everything has been fine for me with Docker Desktop for months.
I noticed that I don’t have the docker-desktop
wsl2 that is mentioned here [1],
PS C:\Windows\System32> wsl --status
Default Distribution: docker-desktop-data
Default Version: 2
Windows Subsystem for Linux was last updated on 3/28/2022
WSL automatic updates are on.
Kernel version: 5.10.102.1
PS C:\Windows\System32> wsl -l -v
NAME STATE VERSION
* docker-desktop-data Stopped 2
Debian Running 2
I can’t tell by looking at the install.log if everything is as expected or that missing service it tries to kill is actually a problem?
Version: 4.2.0 (70708)
Sha1: eb84a759291f14fe31a97526cb8b137e6e541763
Started on: 2022/10/28 08:34:58.342
Resources: C:\Program Files\Docker\Docker\resources
OS: Windows 10 Pro
Edition: Professional
Id: 2009
Build: 19043
BuildLabName: 19041.1.amd64fre.vb_release.191206-1406
File: C:\Users\Scott\AppData\Local\Docker\install-log.txt
CommandLine: "C:\Program Files\Docker\Docker\InstallerCli.exe" -k -p
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[08:34:58.651][Installer ][Info ] Killing processes...
[08:34:58.666][Installer ][Info ] Killing existing com.docker.service process with PID 6304
[08:34:59.402][Cmd ][Info ] time="2022-10-28T08:34:59.401584200-07:00" level=fatal msg="The specified service does not exist as an installed service."
[08:34:59.410][Installer ][Info ] Preparing upgrade...
[08:34:59.462][HyperV ][Info ] Destroy
[08:34:59.686][HyperV ][Warning] Hyper-V is not installed on the machine
[08:34:59.689][LinuxWSL2Engine ][Info ] Destroying distro
[08:35:00.109][LinuxWSL2Engine ][Info ] Debian: found credsStore with desktop.exe, rewriting
[08:35:00.188][Installer ][Info ] Prepare upgrade completed successfully
[08:35:00.188][Installer ][Info ] Fixing permissions...
[08:35:00.189][Installer ][Info ] Deleting directory C:\Program Files\Docker\cli-plugins
[08:35:00.191][Installer ][Info ] removing permission inheritance from C:\ProgramData\DockerDesktop
[08:35:00.192][Installer ][Info ] removing ACLs except for SYSTEM and Administrators from C:\ProgramData\DockerDesktop
[08:35:00.192][Installer ][Info ] granting ReadAndExecute to everyone for C:\ProgramData\DockerDesktop
[08:35:00.193][Installer ][Info ] removing permission inheritance from C:\Program Files\Docker\cli-plugins
[08:35:00.193][Installer ][Info ] removing ACLs except for SYSTEM and Administrators from C:\Program Files\Docker\cli-plugins
[08:35:00.194][Installer ][Info ] granting ReadAndExecute to everyone for C:\Program Files\Docker\cli-plugins
[08:35:00.195][Installer ][Info ] removing permission inheritance from C:\ProgramData\Docker
[08:35:00.195][Installer ][Info ] removing ACLs except for SYSTEM and Administrators from C:\ProgramData\Docker
[08:35:00.195][Installer ][Info ] granting ReadWriteDelete to authenticated users for C:\ProgramData\Docker\config
[08:35:00.195][Installer ][Info ] Permissions should be fixed.
Also looking at log.txt this section at the end seems possibly related but I wasn’t sure?
[2022-10-28T20:09:26.329762600Z][GoBackendProcess ][Info ] [main.main()
[2022-10-28T20:09:26.329762600Z][GoBackendProcess ][Info ] [ common/cmd/com.docker.backend/main.go:109 +0x130
[2022-10-28T20:09:26.332893600Z][GoBackendProcess ][Info ] notifying bugsnag: setting overrides for proxies: computing HTTPIP of 192.168.65.0/28: prefix of 28 does not accommodate a host numbered 128
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] bugsnag.Notify: bugsnag/payload.deliver: Post "https://notify.bugsnag.com": proxyconnect tcp: open \\.\pipe\dockerHTTPProxy: The system cannot find the file specified.
[2022-10-28T20:09:26.333891600Z][com.docker.backend.exe][W] failed to send bugsnag report: bugsnag/payload.deliver: Post "https://notify.bugsnag.com": proxyconnect tcp: open \\.\pipe\dockerHTTPProxy: The system cannot find the file specified.
[2022-10-28T20:09:26.333891600Z][com.docker.backend.exe][F] setting overrides for proxies: computing HTTPIP of 192.168.65.0/28: prefix of 28 does not accommodate a host numbered 128
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [main.reportIfFatal({0x1ed18a0?, 0xc00041c1c8?}, {0x0?, 0x1?, 0x1?})
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [ common/cmd/com.docker.backend/main.go:830 +0x98
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [main.makeConfig(0xc000268480, 0x0)
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [ common/cmd/com.docker.backend/main.go:589 +0xa19
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [main.newBackendServices(0x1adcde0?)
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [ common/cmd/com.docker.backend/main.go:243 +0xb4b
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [common/pkg/appfw.makeNodeDscr[...].func1()
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [ common/pkg/appfw/helpers.go:124 +0x29
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [common/pkg/appfw.(*Node).startSubNodes.func2(0x4?, {{0x1c1d283?, 0x37?}, 0xc0008dfc90?, 0xc00041c6d8?}, 0xc0003b0840, 0xc000218378, 0xc00045ac60?, 0xc000c33c70, 0xc00029dc50)
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [ common/pkg/appfw/appfw.go:792 +0x1c5
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [common/pkg/appfw.(*Node).startSubNodes(0xc0003b0840, {0xc000c33f30, 0x1, 0x1a357a0?})
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [ common/pkg/appfw/appfw.go:813 +0x69b
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [common/pkg/appfw.(*Node).StartSubNodes(0xc0003b0840, {0xc0008dff30?, 0x0?, 0x1d10a38?})
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [ common/pkg/appfw/appfw.go:756 +0x27
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [common/pkg/appfw.StartSubNodes({0xc0008dff30, 0x1, 0x1})
[2022-10-28T20:09:26.333891600Z][GoBackendProcess ][Info ] [ common/pkg/appfw/helpers.go:18 +0x3f
[2022-10-28T20:09:26.334890500Z][GoBackendProcess ][Info ] [main.main()
[2022-10-28T20:09:26.334890500Z][GoBackendProcess ][Info ] [ common/cmd/com.docker.backend/main.go:109 +0x130
[2022-10-28T20:09:26.356780600Z][GoBackendProcess ][Info ] C:\Program Files\Docker\Docker\resources\com.docker.backend.exe -addr unix:\\.\pipe\dockerBackendApiServer -native-api exited with code 1
[2022-10-28T20:09:29.160122400Z][GoBackendClient ][Warning] HttpOS Client: connection timed out.
[2022-10-28T20:09:29.160122400Z][SettingsLoader ][Warning] Failed to fetch settings from backend, retrying in 1 sec
[2022-10-28T20:09:29.160122400Z][IPCClient ][Info ] (dea5ed3e) 1c1c9b88-GoBackendClient-CSharp C->S BackendAPI GET /ping
[2022-10-28T20:09:30.170080900Z][SettingsLoader ][Error ] Failed to initialize settings loader: unable to ping backend API: The operation has timed out.
Can anyone recommend how I can get Docker Desktop to start again? Should I just uninstall and re-install?