Docker desktop for win/windows Debug Mode: false/true | Trouble Shooting | diagnostics | docker desktop is starting

"Docker Desktop is starting..." forever 

"Docker Desktop is starting..." hangs

"Docker Desktop is starting..." stuck

 

 

docker ps -a

request returned Internal Server Error for API route and version http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json?all=1, check if the server supports the requested API version

 

 

* [request returned Internal Server Error for API route and version http://%2F%2F.%2Fpipe%2Fdocker\_engine/v1.24/containers/json?all=1, check if the server supports the requested API version - Search](https://cn.bing.com/search?q=request+returned+Internal+Server+Error+for+API+route+and+version+http%3A%2F%2F%252F%252F.%252Fpipe%252Fdocker_engine%2Fv1.24%2Fcontainers%2Fjson%3Fall%3D1%2C+check+if+the+server+supports+the+requested+API+version&FORM=BESBTB&refig=6543746b44f74da08f1123f8d2b4a6b5&pc=CNNDDB&ensearch=1)
* [docker build API version unsupported, but podman build pass · Issue #16540 · containers/podman](https://github.com/containers/podman/issues/16540)
* [Docker desktop not able to run the engine (all of sudden, probably corrupted). · Issue #13568 · docker/for-win](https://github.com/docker/for-win/issues/13568)
* [in wsl2 run docker info got ERROR: request returned Internal Server Error for API route and version... · Issue #13693 · docker/for-win](https://github.com/docker/for-win/issues/13693)

 

 

* [docker desktop Debug Mode: false - Search](https://cn.bing.com/search?q=docker%20desktop%20Debug%20Mode%3A%20false&qs=n&form=QBRE&=%25eManage%20Your%20Search%20History%25E&sp=-1&lq=0&pq=docker%20desktop%20debug%20mode%3A%20false&sc=0-32&sk=&cvid=B9B04AB629DC42E9BBE037FF594150EC&ghsh=0&ghacc=0&ghpl=)

 

* [Troubleshoot Docker Desktop | Docker Docs](https://docs.docker.com/desktop/troubleshoot/overview/)

PS C:\Users\rgqan> cmd.exe /k "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check
Starting diagnostics


more $Env:LOCALAPPDATA\Docker\log.txt
type $Env:LOCALAPPDATA\Docker\log.txt
 
more C:\Users\[user]\AppData\Local\Docker\log.txt
type C:\Users\[user]\AppData\Local\Docker\log.txt

 


* [How to enable debug mode for Docker client on Windows 10? - DevOps Stack Exchange](https://devops.stackexchange.com/questions/1527/how-to-enable-debug-mode-for-docker-client-on-windows-10)

docker -D info
docker -D version
docker -D -l debug
C:\Users\[user]\AppData\Local\Docker\log.txt

 

[Manual installation steps for older versions of WSL | upgrade from 1 to 2]

(https://www.cnblogs.com/rgqancy/p/17806247.html)

 

Windows PowerShell
版权所有(C) Microsoft Corporation。保留所有权利。

安装最新的 PowerShell,了解新功能和改进!https://aka.ms/PSWindows

PS C:\Users\rgqan> wsl.exe --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.2506
PS C:\Users\rgqan> cmd.exe /k "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check
Starting diagnostics

[2023-11-02T12:27:41.556329400Z][com.docker.diagnose.exe.ipc][I] ipc.NewClient: e2e3871f-diagnose -> \\.\pipe\dockerBackendApiServer BackendAPI
[2023-11-02T12:27:41.577256800Z][com.docker.diagnose.exe.ipc][I] (adb4dfba) e2e3871f-diagnose C->S BackendAPI POST /idle/make-busy
[2023-11-02T12:27:41.582184100Z][com.docker.diagnose.exe.ipc][I] (adb4dfba) e2e3871f-diagnose C<-S 147f1245-BackendAPI POST /idle/make-busy (4.9273ms): 0xc0004a5e00
[2023-11-02T12:27:42.589531500Z][com.docker.diagnose.exe.ipc][I] (28df6e87) e2e3871f-diagnose C->S BackendAPI GET /idle
[2023-11-02T12:27:42.594601200Z][com.docker.diagnose.exe.ipc][I] (28df6e87) e2e3871f-diagnose C<-S 147f1245-BackendAPI GET /idle (4.2357ms): {"apisInFlight":{},"booted":true,"busyReason":["34 container(s)","timed activities: map[/idle/make-busy:28.9889585s]"],"containers":34,"idle":"bool","kubernetesEnabled":false,"reduced":false,"services":0,"timedActivities":{"/idle/make-busy":"float64"},"vmPaused":false,"vmRunning":true,"vmStopped":false,"windowsContainers":false}
[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?
[PASS] DD0014: are the backend processes running?
[PASS] DD0007: is the backend 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 spurin_diveintoansible-extension-desktop-extension_default has subnet 172.21.0.0/16 which overlaps with host IP 172.21.16.1

Please note the following 1 warning:

1 : The check: do Docker networks overlap with host IPs?
    Produced the following warning: network spurin_diveintoansible-extension-desktop-extension_default has subnet 172.21.0.0/16 which overlaps with host IP 172.21.16.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

No fatal errors detected.

 

 

 



posted @ 2023-11-02 18:25  任国强  阅读(8676)  评论(0编辑  收藏  举报