for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Docker Desktop 4.38.0 (181591) doesn't started.

Open PavT25 opened this issue 10 months ago • 8 comments

Description

Docker Desktop 4.38.0 (181591) doesn't started. Engine stopped. I have resetted to factory defaults several times but didn't help.

Reproduce

After restarting PC the Docker didn't start.

Expected behavior

Docker engine could be started.

docker version

Client:
 Version:           27.5.1
 API version:       1.47
 Go version:        go1.22.11
 Git commit:        9f9e405
 Built:             Wed Jan 22 13:41:44 2025
 OS/Arch:           windows/amd64
 Context:           desktop-windows

Server: Docker Desktop 4.38.0 (181591)
 Engine:
  Version:          27.5.1
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.22.11
  Git commit:       4c9b3b0
  Built:            Wed Jan 22 13:40:41 2025
  OS/Arch:          windows/amd64
  Experimental:     true

docker info

Client:
 Version:    27.5.1
 Context:    desktop-windows
 Debug Mode: false
 Plugins:
  ai: Ask Gordon - Docker Agent (Docker Inc.)
    Version:  v0.7.3
    Path:     C:\Program Files\Docker\cli-plugins\docker-ai.exe
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.20.1-desktop.2
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.32.4-desktop.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-compose.exe
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.38
    Path:     C:\Program Files\Docker\cli-plugins\docker-debug.exe
  desktop: Docker Desktop commands (Beta) (Docker Inc.)
    Version:  v0.1.4
    Path:     C:\Program Files\Docker\cli-plugins\docker-desktop.exe
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.2
    Path:     C:\Program Files\Docker\cli-plugins\docker-dev.exe
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.27
    Path:     C:\Program Files\Docker\cli-plugins\docker-extension.exe
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.5
    Path:     C:\Program Files\Docker\cli-plugins\docker-feedback.exe
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.4.0
    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
  scout: Docker Scout (Docker Inc.)
    Version:  v1.16.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-scout.exe

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 27.5.1
 Storage Driver: windowsfilter
  Windows:
 Logging Driver: json-file
 Plugins:
  Volume: local
  Network: ics internal l2bridge l2tunnel nat null overlay private transparent
  Log: awslogs etwlogs fluentd gcplogs gelf json-file local splunk syslog
 Swarm: inactive
 Default Isolation: hyperv
 Kernel Version: 10.0 22631 (22621.1.amd64fre.ni_release.220506-1250)
 Operating System: Microsoft Windows Version 23H2 (OS Build 22631.4751)
 OSType: windows
 Architecture: x86_64
 CPUs: 8
 Total Memory: 31.59GiB
 Name: EPUAKYIW0B98
 ID: 4cfc865d-d45e-41e2-838c-6879124fa1e7
 Docker Root Dir: C:\ProgramData\Docker
 Debug Mode: true
  File Descriptors: -1
  Goroutines: 44
  System Time: 2025-02-17T09:20:09.6065464+02:00
  EventsListeners: 1
 Labels:
  com.docker.desktop.address=npipe://\\.\pipe\docker_cli
 Experimental: true
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine

Diagnostics ID

40D0B074-E47C-40BE-B37D-7D4EA07D41FF/20250217065814

Additional Info

No response

PavT25 avatar Feb 17 '25 07:02 PavT25

I meet the same problem after update. My commands didn't have any response(wsl), and wsl --update failed, then

wsl--update
Checking for updates.
Forbidden (403).
Error code: Wsl/UpdatePackage/0x80190193
docker info
Client:
 Version:    27.5.1
 Context:    desktop-windows
 Debug Mode: false
 Plugins:
  ai: Ask Gordon - Docker Agent (Docker Inc.)
    Version:  v0.7.3
    Path:     C:\Users\Kanata\.docker\cli-plugins\docker-ai.exe
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.20.1-desktop.2
    Path:     C:\Users\Kanata\.docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.32.4-desktop.1
    Path:     C:\Users\Kanata\.docker\cli-plugins\docker-compose.exe
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.38
    Path:     C:\Users\Kanata\.docker\cli-plugins\docker-debug.exe
  desktop: Docker Desktop commands (Beta) (Docker Inc.)
    Version:  v0.1.4
    Path:     C:\Users\Kanata\.docker\cli-plugins\docker-desktop.exe
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.2
    Path:     C:\Users\Kanata\.docker\cli-plugins\docker-dev.exe
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.27
    Path:     C:\Users\Kanata\.docker\cli-plugins\docker-extension.exe
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.5
    Path:     C:\Users\Kanata\.docker\cli-plugins\docker-feedback.exe
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.4.0
    Path:     C:\Users\Kanata\.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:\Users\Kanata\.docker\cli-plugins\docker-sbom.exe
  scout: Docker Scout (Docker Inc.)
    Version:  v1.16.1
    Path:     C:\Users\Kanata\.docker\cli-plugins\docker-scout.exe

Server:
ERROR: error during connect: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopWindowsEngine/v1.47/info": open //./pipe/dockerDesktopWindowsEngine: The system cannot find the file specified.
errors pretty printing info

And I am not sure they are related. I have tried many ways to solve but did not work. Include ./DockerCli.exe -SwitchDaemon , but without response, hyper v service and virtulization are enabled. bcdedit /set hypervisorlaunchtype auto not work.

sc config LxssManager start=auto
[SC] OpenService FAILED 1060:
The specified service does not exist as an installed service.

reboot, reinstall docker desktop... and why I change my docker engine daemon.json, I can not find my images and containers, I changed them back, it just appeared.

Image

Startup always prompts timeout or file not found

hoshiizumiya avatar Feb 17 '25 12:02 hoshiizumiya

sorry, the reason of my issuse is because the update of windows11 build 27774+

hoshiizumiya avatar Feb 19 '25 03:02 hoshiizumiya

First, from the Task Manager program, click on the HV-Host Service option from the Processes tab and run and open the program. Next, on the Services page, from the General tab, click on the WSL Service option and change it from Disabled to Automatic and apply it. Finally, in the same General tab, from the Service Status section, click Start. After completing these steps, run the Docker program.

Image Image Image Image

AI-DASPR avatar Feb 23 '25 00:02 AI-DASPR

4.38.0 doesn't start for me either trying to start windows containers.

OS: Windows 11 23H2 Hyper-V and containers are installed.
HV Host service ist running.
WSL service ist on automatic and running.
Hardware virtualization is enabled.
Linux containers work.
Previous had podman installed, worked fine.
After uninstalling podman I removed the podman machine from WSL and updated WSL.

wsl --status

Default Distribution: docker-desktop
Default Version: 2

Docker Desktop error message

running engine: waiting for the VM setup to be ready:
starting windows containers: An error has occurred.

Diagnostics ID

3242DA03-8858-4EE9-8EA4-71ED6D51511D/20250224072902

Regenhardt avatar Feb 24 '25 07:02 Regenhardt

Windows updated & after that reinstall Docker. Started working only after reinstallation.

PavT25 avatar Feb 24 '25 11:02 PavT25

Windows updated & after that reinstall Docker. Started working only after reinstallation.

But not, after next restart the same situation - error

PavT25 avatar Feb 24 '25 11:02 PavT25

Docker Desktop is working with Linux containers. For Windows containers is not working - described issue.

PavT25 avatar Feb 27 '25 09:02 PavT25

The new version (v4.39.0) was installed. There is the same issue for Windows containers.

Diagnostics ID: CB6C0B2F-158A-43EA-B260-8BE8205B58F9/20250317110629

Image

Image

PavT25 avatar Mar 17 '25 11:03 PavT25