docker / for-win

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

WSL integration with distro Ubuntu-20.04 unexpectedly stopped. docker for windows 4.34.2 #14349

Open keaedwar opened 1 week ago

keaedwar commented 1 week ago

Description

Updated Ubuntu-20.04 via the Microsoft Store to Ubuntu-20.04.6 LTS. After the update when I start Docker for Windows (4.34.2), I get the message Docker Desktop - Ubuntu-20.04 WSL integration with distro 'Ubuntu-20.04' unexpectedly stopped. Do you want to restart it? starting distro Ubuntu-20.04: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe -d Ubuntu-20.04 uname: exist status 0xffffffff

The only way to get past this is to press the "Skip Ubuntu-20.04 WSL distro" button 2024-10-04 15_36_46-Error - Docker Desktop

Reproduce

  1. Docker for Windows (4.32.2) was already installed and running without a problem
  2. reboot (Docker for Windows is not setup to run automatically, so it was not up and running.
  3. Start Microsoft Store
  4. Update Ubuntu-20.04 to latest
  5. after Ubuntu Update is finished
  6. Start Docker for Windows.
  7. Error appears right away.

Expected behavior

Just expected Docker for Windows to startup with out a problem.

docker version

C:\> docker version
Client:
 Version:           27.2.0
 API version:       1.47
 Go version:        go1.21.13
 Git commit:        3ab4256
 Built:             Tue Aug 27 14:17:17 2024
 OS/Arch:           windows/amd64
 Context:           desktop-linux

Server: Docker Desktop 4.34.2 (167172)
 Engine:
  Version:          27.2.0
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.21.13
  Git commit:       3ab5c7d
  Built:            Tue Aug 27 14:15:15 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.20
  GitCommit:        8fc6bcff51318944179630522a095cc9dbf9f353
 runc:
  Version:          1.1.13
  GitCommit:        v1.1.13-0-g58aa920
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

docker info

C:\> docker info
Client:
 Version:    27.2.0
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.16.2-desktop.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.29.2-desktop.2
    Path:     C:\Program Files\Docker\cli-plugins\docker-compose.exe
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.34
    Path:     C:\Program Files\Docker\cli-plugins\docker-debug.exe
  desktop: Docker Desktop commands (Alpha) (Docker Inc.)
    Version:  v0.0.15
    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.25
    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.3.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.13.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-scout.exe

Server:
 Containers: 3
  Running: 3
  Paused: 0
  Stopped: 0
 Images: 7
 Server Version: 27.2.0
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 nvidia runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 8fc6bcff51318944179630522a095cc9dbf9f353
 runc version: v1.1.13-0-g58aa920
 init version: de40ad0
 Security Options:
  seccomp
   Profile: unconfined
 Kernel Version: 5.15.153.1-microsoft-standard-WSL2
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 30.96GiB
 Name: docker-desktop
 ID: afaa3d16-7a7f-46ac-a055-cbdea52815b0
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Labels:
  com.docker.desktop.address=npipe://\\.\pipe\docker_cli
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5555
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
WARNING: daemon is not using the default seccomp profile

Diagnostics ID

15AE01E0-2410-4AD1-9BA9-BD9CC4CFAABA/20241004201253

Additional Info

OS Name: Microsoft Windows 10 Enterprise OS Version: 10.0.19045 N/A Build 19045 OS Manufacturer: Microsoft Corporation OS Configuration: Member Workstation OS Build Type: Multiprocessor Free Product ID: 00330-80000-00000-AA382 Original Install Date: 12/7/2021, 5:58:33 PM System Boot Time: 10/4/2024, 3:00:38 PM System Manufacturer: Dell Inc. System Model: Precision 7760 System Type: x64-based PC Processor(s): 1 Processor(s) Installed. 01: Intel64 Family 6 Model 141 Stepping 1 GenuineIntel ~2304 Mhz BIOS Version: Dell Inc. 1.26.0, 9/14/2023 Windows Directory: C:\WINDOWS System Directory: C:\WINDOWS\system32 Boot Device: \Device\HarddiskVolume1 System Locale: en-us;English (United States) Input Locale: en-us;English (United States) Time Zone: (UTC-05:00) Eastern Time (US & Canada) Total Physical Memory: 64,721 MB Available Physical Memory: 33,234 MB Virtual Memory: Max Size: 73,937 MB Virtual Memory: Available: 33,444 MB Virtual Memory: In Use: 40,493 MB Page File Location(s): C:\pagefile.sys Hotfix(s): 42 Hotfix(s) Installed.

                       [02]: KB5017022
                       [03]: KB4562830
                       [04]: KB4570334
                       [05]: KB4577266
                       [06]: KB4577586
                       [07]: KB4589212
                       [08]: KB5003791
                       [09]: KB5011048
                       [10]: KB5012170
                       [11]: KB5015684
                       [12]: KB5043064
                       [13]: KB5006753
                       [14]: KB5007273
                       [15]: KB5011352
                       [16]: KB5011651
                       [17]: KB5014032
                       [18]: KB5014035
                       [19]: KB5014671
                       [20]: KB5015895
                       [21]: KB5016705
                       [22]: KB5018506
                       [23]: KB5020372
                       [24]: KB5022924
                       [25]: KB5023794
                       [26]: KB5025315
                       [27]: KB5026879
                       [28]: KB5028318
                       [29]: KB5028380
                       [30]: KB5029709
                       [31]: KB5031539
                       [32]: KB5032392
                       [33]: KB5032907
                       [34]: KB5034224
                       [35]: KB5036447
                       [36]: KB5037018
                       [37]: KB5037240
                       [38]: KB5037995
                       [39]: KB5039336
                       [40]: KB5041579
                       [41]: KB5043935
                       [42]: KB5005699

Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.

C:>wsl --list --verbose NAME STATE VERSION

keaedwar commented 2 days ago

I get the same error in version/4.34.3