docker / for-win

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

Installation for 4.27.2 (137060) stuck on create docker-users group #13960

Open ImBIOS opened 8 months ago

ImBIOS commented 8 months ago

Description

Sitting there spinning with the following log:

image

Reproduce

  1. Prompted to install 4.27.2 (137060)
  2. clicked Install
  3. allowed action when administrator permission was requested

Expected behavior

Upgrade to 4.27.2 (137060) succeeds

docker version

➜  docker version
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Client: Docker Engine - Community
 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:16 2023
 OS/Arch:           linux/amd64
 Context:           default

docker info

✗  docker info
Client: Docker Engine - Community
 Version:    24.0.6
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.11.2-desktop.5
    Path:     /usr/local/lib/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.23.0-desktop.1
    Path:     /usr/local/lib/docker/cli-plugins/docker-compose
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.0
    Path:     /usr/local/lib/docker/cli-plugins/docker-dev
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.20
    Path:     /usr/local/lib/docker/cli-plugins/docker-extension
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v0.1.0-beta.9
    Path:     /usr/local/lib/docker/cli-plugins/docker-init
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     /usr/local/lib/docker/cli-plugins/docker-sbom
  scan: Docker Scan (Docker Inc.)
    Version:  v0.26.0
    Path:     /usr/local/lib/docker/cli-plugins/docker-scan
  scout: Docker Scout (Docker Inc.)
    Version:  v1.0.9
    Path:     /usr/local/lib/docker/cli-plugins/docker-scout

Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info

Diagnostics ID

E9361CC8-5A05-428A-A412-8095C1850316/20240309060610

Additional Info

Edition Windows 11 Home Single Language
Version 23H2
Installed on    ‎28/‎09/‎2023
OS build    22631.3155
Experience  Windows Feature Experience Pack 1000.22684.1000.0

Related:

MixusMinimax commented 8 months ago

This has worked for me: Try to uninstall docker desktop, delete all docker-related wsl-distros (with the wsl --unregister command) and most importantly: delete everything docker related in C:\Users\yourname\AppData\{Roaming,Local,LocalLow} Then reinstall

And also, don'y try to update to 4.28.0, I tried that after and got the same error again.

ImBIOS commented 8 months ago

@MixusMinimax Thanks, it worked, but the completion not working:

compinit:503: no such file or directory: /usr/share/zsh/vendor-completions/_docker
ImBIOS commented 7 months ago

image

Happened on 4.29.0

ImBIOS commented 7 months ago

image

The only current working temporary solution: DON'T UPDATE! or CHANGE OS!

HugoKNL commented 2 months ago

Same happening for me. I had to force close the installer. I still had the 4.23.0 installer on my pc, so I could install that and after that everything worked again. Would like to see a fix, because our security department will probably soon say I can't use this version anymore...