-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An unexpected error occurred.Restart Docker Desktop #13518
Comments
Hi @Jarvis-230529, sorry you hit a problem and thanks for filing the issue. Could you provide the output of If the command fails it may mean you have an old version of WSL. Try updating it with Thanks! |
Having same issue, installed 4.20.0 over 4.18.0 today. Have "An unexpected error occured. Restart docker desktop". Operating System: Windows 11 Pro (22H2) 22621.1778
WSL version: 1.2.5.0 com.docker.diagnose.exe check output one FAIL: Docker Desktop 4.19.0 have no issue! P.S.: Deleted |
@ctalledo |
@ctalledo |
@ctalledo WSL version: 1.2.5.0 Operating System: Windows 11 Pro (22H2) 22621.1702 com.docker.diagnose.exe check output [2023-06-01T05:52:46.030642000Z][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 postfix_default has subnet 172.25.0.0/16 which overlaps with host IP 172.25.240.1
Please note the following 1 warning:
1 : The check: do Docker networks overlap with host IPs?
Produced the following warning: network postfix_default has subnet 172.25.0.0/16 which overlaps with host IP 172.25.240.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. |
me too.... |
dockerdesktop 4.20有问题 4.19好好的 更新4.20就不行了 就报vpn虚拟网络组件起不来 |
|
用 4.19吧 |
他这个有没有说是电脑安装wsl 2能够正常使用4.20咧,试过吗哥 |
Hi all, thanks for reporting the problem and apologies for the issue. Looking at the Docker Desktop logs that @Jarvis-230529 uploaded, it's clear the problem is caused by Docker Desktop failing to get the WSL version on the host:
It's not clear to me why that command fails when Docker Desktop (DD) executes it, given that @Jarvis-230529 indicated that typing the same command on a Powershell or Command prompt works:
Very strange, and probably a WSL issue, but we will need to work around it. On my host for example, Docker Desktop can execute the
and DD works fine. The reason this shows up more prominently in DD 4.20 is that in this version, whenever a user opens the DD settings menu, DD will check the WSL version and cache it. But since the WSL version check is failing, the problem causes DD to not work properly. Will work on a fix/work-around ASAP. |
FYI, most users of Docker Desktop on WSL don't hit this issue, but we are investigating why some do. For now, the only work-around for users that hit the problem is to stay on DD 4.19. |
I also encountered this problem, wsl --version has output, this is the diagnosis id I uploaded |
@ctalledo I think this is because of localized Windows interface package. In my case If i am right, DD using regex expression without case of locale detection... |
Thanks @GTVolk; could you provide the output of In this particular issue, the However in issue #13524, it's definitely a locale related bug: DD is adjusting for locale when parsing the output of |
|
等官方修复吧 wsl2也一样 所有方法我都试过 dockerdesktop windows用户目前唯一解决办法是用4.19 |
FYI we have a fix in progress, will be available in the next few days. Apologies again and thanks for your patience. |
mac 都用的好好的 win就挂 我傻了 |
wsl --versionWSL 版本: 1.2.5.0 wsl --update正在检查更新。 |
如何下载老版本呀 |
me too WSL 版本: 1.2.5.0 |
me too |
WSL 版本: 1.2.5.0 |
我也是同样的问题,换回4.19.0版本就可以了 |
different windows version same issue here. WSL sürümü: 1.2.5.0 |
When Docker Desktop is launched or when entering the options window,
|
Hi @Hod0ri, this is a bug in Docker Desktop's 4.20 parsing of the WSL version in some locales, and it only affects the options window display. It does not affect Docker CLI commands from working properly. The issue will be resolved very soon. Apologies for the inconvenience. |
We've release docker Desktop 4.20.1, containing a fix for this issue, so I'm closing this issue. For more information, head to https://docs.docker.com/desktop/release-notes/. |
Hi @paule96, thanks for reporting. It's unlikely to be the same exact issue, but we will help you debug it. Could you please upload a Docker Desktop diagnostic bundle? That will help us see what's going on. |
hm I can't reproduce it now. I guess a reboot of the whole system did helped. |
Actual behavior
Docker Desktop does not start and run as expected
Expected behavior
Docker Destop should start without any errors
Information
Output of
& "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check
[2023-05-31T07:33:22.672349100Z][com.docker.backend.exe][I] (060f8b5c) e9dd27c6-BackendAPI S<-C Docker-Desktop/4.20.0 (Windows; x64) GET /ping [2023-05-31T07:33:22.672860100Z][com.docker.backend.exe][I] (060f8b5c) e9dd27c6-BackendAPI S->C Docker-Desktop/4.20.0 (Windows; x64) GET /ping (511碌s): {"serverTime":1685518402672860200} [2023-05-31T07:33:22.688060400Z][com.docker.backend.exe][E] getting WSL version: executing wsl --version: exit status 0xffffffff [2023-05-31T07:33:22.691488800Z][GoBackendProcess][I] [common/pkg/eci.isValidWSLVersion() [2023-05-31T07:33:22.691488800Z][GoBackendProcess][I] [ common/pkg/eci/eci_windows.go:55 +0x1f6 [2023-05-31T07:33:22.691488800Z][GoBackendProcess][I] [common/pkg/eci.isSupportedOnHost(0x0?) [2023-05-31T07:33:22.691488800Z][GoBackendProcess][I] [ common/pkg/eci/eci_windows.go:154 +0x1b [2023-05-31T07:33:22.691488800Z][GoBackendProcess][I] [common/pkg/eci.IsSupportedOnHost(...) [2023-05-31T07:33:22.691488800Z][GoBackendProcess][I] [ common/pkg/eci/eci.go:5 [2023-05-31T07:33:22.691488800Z][GoBackendProcess][I] [common/cmd/com.docker.backend/internal/app.getGroupedSettings(_, {{0x0, 0x0}, {0x0, 0x0}, {{0x0, 0x0}, 0x0}, {{0x0, 0x0}, ...}, ...}, ...) [2023-05-31T07:33:22.691488800Z][GoBackendProcess][I] [ common/cmd/com.docker.backend/internal/app/settings.go:250 +0x1c5 [2023-05-31T07:33:22.691488800Z][GoBackendProcess][I] [common/cmd/com.docker.backend/internal/app.ConvertToGroupedSettings(_) [2023-05-31T07:33:22.692020100Z][GoBackendProcess][I] [ common/cmd/com.docker.backend/internal/app/settings.go:207 +0x185 [2023-05-31T07:33:22.692020100Z][GoBackendProcess][I] [common/cmd/com.docker.backend/internal/app.GetSettings() [2023-05-31T07:33:22.692020100Z][GoBackendProcess][I] [ common/cmd/com.docker.backend/internal/app/settings.go:33 +0xf8 [2023-05-31T07:33:22.692020100Z][GoBackendProcess][I] [common/cmd/com.docker.backend/internal/handlers.(*AppHandler).GetSettings(0x0?, {0x2a0f278, 0xc0009a6750}) [2023-05-31T07:33:22.692020100Z][GoBackendProcess][I] [ common/cmd/com.docker.backend/internal/handlers/app.go:110 +0x78 [2023-05-31T07:33:22.692020100Z][GoBackendProcess][I] [github.com/labstack/echo/v4.(*Echo).add.func1({0x2a14cb8, 0xc0002ec500}) [2023-05-31T07:33:22.692020100Z][GoBackendProcess][I] [ github.com/labstack/echo/v4@v4.10.2/echo.go:575 +0x51 [2023-05-31T07:33:22.692414600Z][GoBackendProcess][I] [github.com/labstack/echo/v4/middleware.RecoverWithConfig.func1.1({0x2a14cb8, 0xc0002ec500}) [2023-05-31T07:33:22.692414600Z][GoBackendProcess][I] [ github.com/labstack/echo/v4@v4.10.2/middleware/recover.go:119 +0xfe [2023-05-31T07:33:22.692507500Z][GoBackendProcess][I] [github.com/labstack/echo/v4.(*Echo).ServeHTTP(0xc00059ab40, {0x29f1bf0?, 0xc0000e81c0}, 0xc000c2ed00) [2023-05-31T07:33:22.692507500Z][GoBackendProcess][I] [ github.com/labstack/echo/v4@v4.10.2/echo.go:662 +0x3d1 [2023-05-31T07:33:22.692507500Z][GoBackendProcess][I] [net/http.serverHandler.ServeHTTP({0xc000629950?}, {0x29f1bf0, 0xc0000e81c0}, 0xc000c2ed00) [2023-05-31T07:33:22.692507500Z][GoBackendProcess][I] [ net/http/server.go:2936 +0x316 [2023-05-31T07:33:22.692507500Z][GoBackendProcess][I] [net/http.(*conn).serve(0xc000e12e10, {0x29f2980, 0xc0009a0150}) [2023-05-31T07:33:22.692507500Z][GoBackendProcess][I] [ net/http/server.go:1995 +0x612 [2023-05-31T07:33:22.692507500Z][GoBackendProcess][I] [created by net/http.(*Server).Serve [2023-05-31T07:33:22.692507500Z][GoBackendProcess][I] [ net/http/server.go:3089 +0x5ed [2023-05-31T07:33:22.691488800Z][com.docker.backend.exe][W] (f80f6302) e9dd27c6-BackendAPI S->C Docker-Desktop/4.20.0 (Windows; x64) GET /app/settings (127.8155ms): determining canUseEnhancedContainerIsolation: executing wsl --version: exit status 0xffffffff [2023-05-31T07:33:22.692507500Z][GoBackendProcess][I] [common/cmd/com.docker.backend/internal/handlers/app.go:112 github.com/docker/pinata/common/cmd/com.docker.backend/internal/handlers.(*AppHandler).GetSettings() [2023-05-31T07:33:22.692507500Z][GoBackendProcess][I] [common/pkg/ipc/server.go:230 github.com/docker/pinata/common/pkg/ipc.(*server).wrapHandlerFunc.func1() [2023-05-31T07:33:22.692917000Z][GoBackendProcess][I] [github.com/labstack/echo/v4@v4.10.2/echo.go:575 github.com/labstack/echo/v4.(*Echo).add.func1() [2023-05-31T07:33:22.692917000Z][GoBackendProcess][I] [github.com/labstack/echo/v4@v4.10.2/middleware/recover.go:119 github.com/labstack/echo/v4/middleware.RecoverWithConfig.func1.1() [2023-05-31T07:33:22.692917000Z][GoBackendProcess][I] [github.com/labstack/echo/v4@v4.10.2/echo.go:662 github.com/labstack/echo/v4.(*Echo).ServeHTTP() [2023-05-31T07:33:22.692917000Z][GoBackendProcess][I] [net/http/server.go:2936 net/http.serverHandler.ServeHTTP() [2023-05-31T07:33:22.692917000Z][GoBackendProcess][I] [net/http/server.go:1995 net/http.(*conn).serve() [2023-05-31T07:33:22.692917000Z][GoBackendProcess][I] [runtime/asm_amd64.s:1598 runtime.goexit()
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: