Repository navigation
"unexpected error occurred" when starting Docker Desktop on Windows 11 Home #13524
Copy link
Copy link
Closed
Description
Description
I'm trying to start Docker Desktop on Windows Home and everytime getting the same error: "An unexpected error occurred. Restart Docker Desktop".
Reproduce
- Fresh install Windows 11 Home Single Language 64 bit (version 22H2).
- Get updates from Windows Update. Reboot.
- Run
wsl --installas described here, now you have WSL 2 and don't have WSL 1. Reboot. - Install Docker Desktop 4.20.0 (109717) - no errors during installation. Reboot.
- Start Docker Desktop. Get "An unexpected error occurred. Restart Docker Desktop" in GUI.
- Restarting Docker Desktop doesn't help, rebooting Windows doesn't help, the error persists.
- You can't change settings of Docker Desktop in GUI, checkbox "Use the WSL 2 based engine" is unchecked, "Apply" button is disabled.
- But you still can run docker containers in CLI without errors.
Expected behavior
Docker Desktop should run normally with WSL 2 backend on Windows 11 Home.
docker version
Client:
Cloud integration: v1.0.33
Version: 24.0.2
API version: 1.43
Go version: go1.20.4
Git commit: cb74dfc
Built: Thu May 25 21:53:15 2023
OS/Arch: windows/amd64
Context: default
Server: Docker Desktop 4.20.0 (109717)
Engine:
Version: 24.0.2
API version: 1.43 (minimum version 1.12)
Go version: go1.20.4
Git commit: 659604f
Built: Thu May 25 21:52:17 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
GitCommit: de40ad0docker info
Client:
Version: 24.0.2
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.10.5
Path: C:\Program Files\Docker\cli-plugins\docker-buildx.exe
compose: Docker Compose (Docker Inc.)
Version: v2.18.1
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.19
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.4
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: Command line tool for Docker Scout (Docker Inc.)
Version: v0.12.0
Path: C:\Program Files\Docker\cli-plugins\docker-scout.exe
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 24.0.2
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: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc version: v1.1.7-0-g860f061
init version: de40ad0
Security Options:
seccomp
Profile: builtin
Kernel Version: 5.15.90.1-microsoft-standard-WSL2
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 12
Total Memory: 7.441GiB
Name: docker-desktop
ID: 7fb58d8f-431b-499e-af4e-65df0879afee
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 supportDiagnostics ID
B1DCAD74-D918-4B2D-817F-1FF6C5E0A609/20230601145912
Additional Info
I use laptop with AMD Ryzen 5 5600H and 16 Gb RAM, virtualization is enabled in BIOS.
I tried to wsl --update, to reinstall WSL, to disable "Windows fast startup", to reinstall Docker Desktop, finally I tried with fresh reinstalled Windows with no success.
>wsl --version
Версия WSL: 1.2.5.0
Версия ядра: 5.15.90.1
Версия WSLg: 1.0.51
Версия MSRDC: 1.2.3770
Версия Direct3D: 1.608.2-61064218
Версия DXCore: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Версия Windows: 10.0.22621.1702
>"C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check
[2023-06-01T14:47:44.084560300Z][com.docker.diagnose.exe][I] set path configuration to OnHost
Starting diagnostics
[PASS] DD0027: is there available disk space on the host?
[PASS] DD0028: is there available VM disk space?
[SKIP] DD0002: does the bootloader have virtualization enabled?
[SKIP] DD0018: does the host support virtualization?
[PASS] DD0001: is the application running?
[SKIP] DD0022: is the Virtual Machine Platform Windows Feature enabled?
[SKIP] DD0021: is the WSL 2 Windows Feature enabled?
[PASS] DD0024: is WSL installed?
[PASS] DD0025: are WSL distros installed?
[PASS] DD0026: is the WSL LxssManager service running?
[PASS] DD0029: is the WSL 2 Linux filesystem corrupt?
[PASS] DD0035: is the VM time synchronized?
[PASS] DD0017: can a VM be started?
[PASS] DD0016: is the LinuxKit VM running?
[PASS] DD0011: are the LinuxKit services running?
[PASS] DD0004: is the Docker engine running?
[PASS] DD0015: are the binary symlinks installed?
[PASS] DD0031: does the Docker API work?
[PASS] DD0013: is the $PATH ok?
[PASS] DD0003: is the Docker CLI working?
[PASS] DD0005: is the user in the docker-users group?
[PASS] DD0038: is the connection to Docker working?
[FAIL] DD0014: are the backend processes running? 1 error occurred:
* com.docker.vpnkit.exe is not running
[PASS] DD0007: is the backend responding?
[PASS] DD0008: is the native API responding?
[SKIP] DD0009: is the vpnkit API responding?
[PASS] DD0010: is the Docker API proxy responding?
[SKIP] DD0006: is the Docker Desktop Service responding?
[SKIP] DD0030: is the image access management authorized?
[PASS] DD0033: does the host have Internet access?
[PASS] DD0002: does the bootloader have virtualization enabled?
[PASS] DD0018: does the host support virtualization?
[PASS] DD0001: is the application running?
[PASS] DD0022: is the Virtual Machine Platform Windows Feature enabled?
[PASS] DD0021: is the WSL 2 Windows Feature enabled?
[PASS] DD0024: is WSL installed?
[PASS] DD0025: are WSL distros installed?
[PASS] DD0026: is the WSL LxssManager service running?
[PASS] DD0029: is the WSL 2 Linux filesystem corrupt?
[PASS] DD0035: is the VM time synchronized?
[PASS] DD0017: can a VM be started?
[PASS] DD0016: is the LinuxKit VM running?
[PASS] DD0011: are the LinuxKit services running?
[PASS] DD0004: is the Docker engine running?
[PASS] DD0015: are the binary symlinks installed?
[PASS] DD0031: does the Docker API work?
[WARN] DD0032: do Docker networks overlap with host IPs? network bridge has subnet 172.17.0.0/16 which overlaps with host IP 172.17.112.1
Please note the following 1 warning:
1 : The check: do Docker networks overlap with host IPs?
Produced the following warning: network bridge has subnet 172.17.0.0/16 which overlaps with host IP 172.17.112.1
If the subnet used by a Docker network overlaps with an IP used by the host, then containers
won't be able to contact the overlapping IP addresses.
Try configuring the IP address range used by networks: in your docker-compose.yml.
See https://docs.docker.com/compose/compose-file/compose-file-v2/#ipv4_address-ipv6_address
Please investigate the following 1 issue:
1 : The test: are the backend processes running?
Failed with: 1 error occurred:
* com.docker.vpnkit.exe is not running
Not all of the backend processes are running.
Reactions are currently unavailable
Activity
vhexl commentedon Jun 1, 2023
I also had this problem, after I updated Docker Desktop to 4.20.0 (109717)
ctalledo commentedon Jun 1, 2023
Hi @rc5hack, thanks for filing the issue and apologies for the problem.
Can you please execute
wsl --versionon a command prompt or powershell on your host, and post the output here?Thanks!
ctalledo commentedon Jun 1, 2023
Looking at the diagnostics bundle, it seems this issue is caused by Docker Desktop failing to parse the WSL version on the host:
It is a likely bug in the Docker Desktop WSL version parser, apparently it's not dealing with this host's language / locale correctly.
Note: this is different that issue #13518, where the DD fails to obtain the WSL version for a different reason (exit code 0xffffffff).
rc5hack commentedon Jun 1, 2023
Output of
wsl --versionincludes Russian since I use "Home Single-language" version of Windows 11 (comes with laptop), this language can't be changed without re-installing Windows:translation of this output (made by hands, just for better searching):
ctalledo commentedon Jun 1, 2023
Thanks @rc5hack. I think DD has a bug parsing the output of WSL version for this locale. We will fix it ASAP.
ctalledo commentedon Jun 1, 2023
FYI we have a fix in progress, will be available in the next few days. Apologies again and thanks for your patience.
egor-fipu commentedon Jun 2, 2023
I also had this problem, after I updated Docker Desktop to 4.20.0. I did all the same manipulations except reinstalling windows. Nothing helped.
KTXKIKI commentedon Jun 2, 2023
唯一方法 用4.19 等官方修复
qinfen commentedon Jun 2, 2023
4.19改不了disk image location, 说是4.20修复了这个问题,结果4.20直接wsl2不能用了。。。
KTXKIKI commentedon Jun 2, 2023
5 remaining items
ctalledo commentedon Jun 5, 2023
Folks, please let us know if DD 4.20.1 does in fact address the issue in your locale. If it doesn't, please post the output of
wsl --versionon your host (exactly as it shows up in your locale, without translation to english).gjycn commentedon Jun 5, 2023
Good, it's done.
Here is my version
rc5hack commentedon Jun 5, 2023
Issue with Docker Desktop startup on Windows 11 Home Single Language 64 bit 22H2 (Russian locale) is fixed with DD 4.20.1. Thanks! 👍🏻
syk-repository commentedon Jun 7, 2023
bug fixed on windows 11 Pro 22H2. thx and all developers god saves you.
qinfen commentedon Jun 8, 2023
4.20.1改变Disk Image location后重启软件后,Containers和Images会丢失。
fengzhao commentedon Jun 8, 2023
改变路径后,你也要移动对应的文件吧
qinfen commentedon Jun 8, 2023
改变后软件会自动迁移文件,但是重启软件之后就识别不了了,感觉像是虽然文件迁移了但是软件还是识别的默认路径
AgentFire commentedon Jun 16, 2024
Same. It gathered some data tho, and provided me with this error report id: 10ECCD38-9330-4E4C-A8E3-A8A9F2321BE1/20240616182040
ctalledo commentedon Jul 9, 2024
Thanks @AgentFire for uploading the diagnostics bundle (and sorry for the late response); looking at it now to see what's happening.
iuv-work commentedon Jul 10, 2024
Same. 8A0BBD74-A741-4F45-9D68-111A6ED44084/20240710124543
wangzaistone commentedon Dec 26, 2024
Have same problem on windows , the latest version 2024-12-26
ctalledo commentedon Jan 6, 2025
Hi @wangzaistone , can you please provide more info by uploading a Docker Desktop diagnostics bundle?
Thanks!
tibran19 commentedon Jan 27, 2025
I cant open docker , it sans wsl failed