docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.86k stars 288 forks source link

Docker desktop not starting #13712

Open muirehenwedd opened 1 year ago

muirehenwedd commented 1 year ago

Description

After the click on the docker desktop icon, nothin happens.

Reproduce

  1. Run docker desktop

Expected behavior

Docker is started properly.

docker version

error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version": open //./pipe/docker_engine: The system cannot find the file specified.
Client:
 Cloud integration: v1.0.35+desktop.5
 Version:           24.0.6
 API version:       1.43
 Go version:        go1.20.7
 Git commit:        ed223bc
 Built:             Mon Sep  4 12:32:48 2023
 OS/Arch:           windows/amd64
 Context:           default

docker info

Client:
 Version:    24.0.6
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.11.2-desktop.5
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.22.0-desktop.2
    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.20
    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.8
    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: Docker Scout (Docker Inc.)
    Version:  v1.0.7
    Path:     C:\Program Files\Docker\cli-plugins\docker-scout.exe

Diagnostics ID

I dont have tools to generate diagnostics id.

Additional Info

Log file content (C:\Users\Maksym\AppData\Local\Docker\log.txt): log.txt

bsousaa commented 1 year ago

You can generate a diagnostics from either Docker Desktop or the terminal : https://docs.docker.com/desktop/troubleshoot/overview/

uiv11568 commented 1 year ago

Hi,

I was having a similar issue with my docker, and searched everywhere for a solution. I first went to Hyper-V manger (can be found by searching in the task bar) and made sure "DockerDesktopVM" was running by right clicking and then pressing connect. Then afterwards, I still was having trouble connecting, but I knew it was no longer a Hyper-V issue. I restarted my machine and did the same step and I was still getting that error. Then what made it work was I went into service.msc, stopped both "Docker Desktop Service" and "Docker Engine". afterwards, I started Docker Desktop, it threw an error saying docker engine was not running, went back to the services.msc window, started both Docker Engine and Docker Desktop Service and it finally started to work.

muirehenwedd commented 1 year ago

You can generate a diagnostics from either Docker Desktop or the terminal : https://docs.docker.com/desktop/troubleshoot/overview/

Diagnostics ID: 2A5BF5C9-E3D4-4125-A87D-D43DC22531CE/20231006100942