docker / for-win

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

Every now and then Docker cannot deploy docker-desktop distro in Windows #12205

Open axelitus opened 2 years ago

axelitus commented 2 years ago

Actual behavior

Expected behavior

That docker starts correctly and the docker-desktop distro can be deployed.

Information

The configuration for the Hyper-V networks interfaces when the issue appeared was this:

Configuration for interface "vEthernet (Default Switch)"
    DHCP enabled:                         No
    IP Address:                           172.23.128.1
    Subnet Prefix:                        172.23.128.0/20 (mask 255.255.240.0)
    InterfaceMetric:                      5000

Configuration for interface "vEthernet (WSL)"
    DHCP enabled:                         No
    IP Address:                           192.168.192.1
    Subnet Prefix:                        192.168.192.0/20 (mask 255.255.240.0)
    InterfaceMetric:                      5000

Usually, restarting my computer "fixes" the issue (that's why I think it has to do with the Hyper-V segments).

axelitus commented 2 years ago

I tried restarting and oddly enough this time Docker is failing to start again. I uploaded the diagnostic, here's the new id: 8CCD1456-AFF8-4216-8B77-3496F2149CED/20210927140508

This is the network config for this error:

Configuration for interface "vEthernet (Default Switch)"
    DHCP enabled:                         No
    IP Address:                           172.21.128.1
    Subnet Prefix:                        172.21.128.0/20 (mask 255.255.240.0)
    InterfaceMetric:                      5000

Configuration for interface "vEthernet (WSL)"
    DHCP enabled:                         No
    IP Address:                           172.26.224.1
    Subnet Prefix:                        172.26.224.0/20 (mask 255.255.240.0)
    InterfaceMetric:                      5000
axelitus commented 2 years ago

Rebooted again and now it is working (but the issue still remains): image

Networking info:

Configuration for interface "vEthernet (Default Switch)"
    DHCP enabled:                         No
    IP Address:                           172.27.32.1
    Subnet Prefix:                        172.27.32.0/20 (mask 255.255.240.0)
    InterfaceMetric:                      5000

Configuration for interface "vEthernet (WSL)"
    DHCP enabled:                         No
    IP Address:                           192.168.32.1
    Subnet Prefix:                        192.168.32.0/20 (mask 255.255.240.0)
    InterfaceMetric:                      5000
docker-robott commented 2 years ago

Issues go stale after 90 days of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30 days of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

axelitus commented 2 years ago

There has been no comment nor a solution to this.

/lifecycle frozen