当前位置:   article > 正文

[深度学习] docker image list request returned Internal Server Error for API route and version_docker: request returned internal server error for

docker: request returned internal server error for api route and version htt

在 powershell 里执行docker image list 报错

  1. PS C:\Users\Thomas> docker image list
  2. request returned Internal Server Error for API route and version http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/json, check if the server supports the requested API version

执行

  1. C:\Users\Thomas>cmd.exe /k "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check
  2. Starting diagnostics
  3. [2024-04-17T14:30:53.028434600Z][com.docker.diagnose.exe.ipc][I] ipc.NewClient: 19986db9-diagnose -> \\.\pipe\dockerBackendApiServer BackendAPI
  4. [2024-04-17T14:30:53.040204600Z][com.docker.diagnose.exe.ipc][I] (5ffdbf0d) 19986db9-diagnose C->S BackendAPI POST /idle/make-busy
  5. [2024-04-17T14:30:53.042473500Z][com.docker.diagnose.exe.ipc][I] (5ffdbf0d) 19986db9-diagnose C<-S 7393654c-BackendAPI POST /idle/make-busy (2.2689ms): 0xc00063a3d0
  6. [2024-04-17T14:30:54.043514600Z][com.docker.diagnose.exe.ipc][I] (7d42eeac) 19986db9-diagnose C->S BackendAPI GET /idle
  7. [2024-04-17T14:30:54.047628300Z][com.docker.diagnose.exe.ipc][I] (7d42eeac) 19986db9-diagnose C<-S 7393654c-BackendAPI GET /idle (2.8594ms): {"apisInFlight":{},"booted":false,"busyReason":["timed activities: map[/idle/make-busy:28.9961123s]"],"containers":0,"idle":"bool","kubernetesEnabled":false,"reduced":false,"services":0,"timedActivities":{"/idle/make-busy":"float64"},"vmPaused":false,"vmRunning":true,"vmStopped":false,"windowsContainers":false}
  8. [PASS] DD0027: is there available disk space on the host?
  9. [SKIP] DD0028: is there available VM disk space?
  10. [SKIP] DD0002: does the bootloader have virtualization enabled?
  11. [SKIP] DD0018: does the host support virtualization?
  12. [PASS] DD0001: is the application running?
  13. [SKIP] DD0022: is the Virtual Machine Platform Windows Feature enabled?
  14. [SKIP] DD0021: is the WSL 2 Windows Feature enabled?
  15. [PASS] DD0024: is WSL installed?
  16. [FAIL] DD0025: are WSL distros installed? WSL Distribution docker-desktop is missing
  17. [PASS] DD0026: is the WSL LxssManager service running?
  18. [FAIL] DD0029: is the WSL 2 Linux filesystem corrupt? prereq failed: are WSL distros installed?
  19. [FAIL] DD0035: is the VM time synchronized? prereq failed: are WSL distros installed?
  20. [FAIL] DD0017: can a VM be started? prereq failed: are WSL distros installed?
  21. [FAIL] DD0016: is the LinuxKit VM running? prereq failed: can a VM be started?
  22. [FAIL] DD0011: are the LinuxKit services running? prereq failed: is the LinuxKit VM running?
  23. [FAIL] DD0004: is the Docker engine running? prereq failed: are the LinuxKit services running?
  24. [PASS] DD0015: are the binary symlinks installed?
  25. [FAIL] DD0031: does the Docker API work? prereq failed: is the Docker engine running?
  26. [PASS] DD0013: is the $PATH ok?
  27. [FAIL] DD0003: is the Docker CLI working? prereq failed: is the Docker engine running?
  28. [FAIL] DD0005: is the user in the docker-users group? prereq failed: is the LinuxKit VM running?
  29. [FAIL] DD0038: is the connection to Docker working? prereq failed: is the Docker engine running?
  30. [FAIL] DD0014: are the backend processes running? prereq failed: is the LinuxKit VM running?
  31. [FAIL] DD0007: is the backend responding? prereq failed: are the backend processes running?
  32. [FAIL] DD0009: is the vpnkit API responding? prereq failed: are the backend processes running?
  33. [FAIL] DD0010: is the Docker API proxy responding? prereq failed: are the backend processes running?
  34. [SKIP] DD0006: is the Docker Desktop Service responding?
  35. [FAIL] DD0030: is the image access management authorized? prereq failed: is the Docker engine running?
  36. [WARN] DD0033: does the host have Internet access? unable to fetch http://docker.com/
  37. [PASS] DD0002: does the bootloader have virtualization enabled?
  38. [PASS] DD0018: does the host support virtualization?
  39. [PASS] DD0001: is the application running?
  40. [PASS] DD0022: is the Virtual Machine Platform Windows Feature enabled?
  41. [PASS] DD0021: is the WSL 2 Windows Feature enabled?
  42. [PASS] DD0024: is WSL installed?
  43. [WARN] DD0025: are WSL distros installed? WSL Distribution docker-desktop is missing
  44. [PASS] DD0026: is the WSL LxssManager service running?
  45. [WARN] DD0029: is the WSL 2 Linux filesystem corrupt? prereq failed: are WSL distros installed?
  46. [WARN] DD0035: is the VM time synchronized? prereq failed: are WSL distros installed?
  47. [WARN] DD0017: can a VM be started? prereq failed: are WSL distros installed?
  48. [WARN] DD0016: is the LinuxKit VM running? prereq failed: can a VM be started?
  49. [WARN] DD0011: are the LinuxKit services running? prereq failed: is the LinuxKit VM running?
  50. [WARN] DD0004: is the Docker engine running? prereq failed: are the LinuxKit services running?
  51. [PASS] DD0015: are the binary symlinks installed?
  52. [WARN] DD0031: does the Docker API work? prereq failed: is the Docker engine running?
  53. [WARN] DD0032: do Docker networks overlap with host IPs? prereq failed: does the Docker API work?
  54. Please note the following 12 warnings:
  55. 1 : The check: does the host have Internet access?
  56. Produced the following warning: unable to fetch http://docker.com/
  57. If the host does not have Internet access then containers will also not have Internet access.
  58. The lack of Internet access could be caused by
  59. - physical disconnection: check your ethernet cable or Wifi network
  60. - the local network firewall policy: check with your IT department if access to docker.com is expected to work
  61. - a VPN (or lack of one): try again with or without the VPN running
  62. 2 : The check: are WSL distros installed?
  63. Produced the following warning: WSL Distribution docker-desktop is missing
  64. The Docker engine uses several WSL distributions. Therefore these must be installed.
  65. 3 : The check: are WSL distros installed?
  66. Produced the following warning: WSL Distribution docker-desktop is missing
  67. The Docker engine uses several WSL distributions. Therefore these must be installed.
  68. 4 : The check: is the WSL 2 Linux filesystem corrupt?
  69. Produced the following warning: prereq failed: are WSL distros installed?
  70. If the WSL 2 Linux filesystem is corrupt then Docker Desktop cannot start.
  71. There is a known issue fixed in Windows Insider builds which can cause filesystem corruption, see:
  72. https://github.com/microsoft/WSL/issues/5895 .
  73. Try running "wsl --shutdown" to stop your WSL Virtual Machine. When it restarts it will
  74. run a filesystem check and hopefully fix the problem.
  75. 5 : The check: are WSL distros installed?
  76. Produced the following warning: WSL Distribution docker-desktop is missing
  77. The Docker engine uses several WSL distributions. Therefore these must be installed.
  78. 6 : The check: is the VM time synchronized?
  79. Produced the following warning: prereq failed: are WSL distros installed?
  80. The VM time must be in sync with the host, otherwise Docker Desktop will not work correctly.
  81. Ensure you are using a modern WSL 2 kernel (see "wsl --update"). If this problem persists,
  82. try manually synchronizing the VM clock with "sudo hwclock -s".
  83. 7 : The check: can a VM be started?
  84. Produced the following warning: prereq failed: are WSL distros installed?
  85. The Docker engine runs inside a Linux VM. Therefore we must be able to start Virtual Machines.
  86. 8 : The check: is the LinuxKit VM running?
  87. Produced the following warning: prereq failed: can a VM be started?
  88. The Docker engine runs inside a Linux VM. Therefore the VM must be running.
  89. 9 : The check: are the LinuxKit services running?
  90. Produced the following warning: prereq failed: is the LinuxKit VM running?
  91. The Docker engine runs inside a Linux VM as a service. Therefore the services must have started.
  92. 10 : The check: is the Docker engine running?
  93. Produced the following warning: prereq failed: are the LinuxKit services running?
  94. The Docker engine manages all containers and images on the host. Check the dockerd.log to see why it failed to start.
  95. 11 : The check: does the Docker API work?
  96. Produced the following warning: prereq failed: is the Docker engine running?
  97. If the Docker API is not available from the host then Docker Desktop will not work correctly.
  98. 12 : The check: do Docker networks overlap with host IPs?
  99. Produced the following warning: prereq failed: does the Docker API work?
  100. If the subnet used by a Docker network overlaps with an IP used by the host, then containers
  101. won't be able to contact the overlapping IP addresses.
  102. Try configuring the IP address range used by networks: in your docker-compose.yml.
  103. See https://docs.docker.com/compose/compose-file/compose-file-v2/#ipv4_address-ipv6_address
  104. Please investigate the following 1 issue:
  105. 1 : The test: are WSL distros installed?
  106. Failed with: WSL Distribution docker-desktop is missing
  107. The Docker engine uses several WSL distributions. Therefore these must be installed.

参考:

https://www.cnblogs.com/rgqancy/p/17806019.html

【Docker Desktop】Windows11家庭版安装docker desktop和WSl2(Ubuntu22.04)并完成迁移,配置国内镜像_docker win11配置和使用-CSDN博客 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/码创造者/article/detail/744956
推荐阅读
相关标签
  

闽ICP备14008679号