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

Docker not starting on Windows 10

Open barisvelioglu opened this issue 6 years ago • 6 comments

image

###LOGS [11:02:32.657][VpnKit ][Info ] while creating Hyper-V socket

[11:02:33.657][VpnKit ][Error ] vpnkit.exe: Caught An address incompatible with the requested protocol was used.

[11:02:33.657][VpnKit ][Info ] while creating Hyper-V socket

[11:02:33.657][VpnKit ][Error ] vpnkit.exe: Caught An address incompatible with the requested protocol was used.

[11:02:33.657][VpnKit ][Info ] while creating Hyper-V socket

[11:02:34.658][VpnKit ][Error ] vpnkit.exe: Caught An address incompatible with the requested protocol was used.

[11:02:34.658][VpnKit ][Info ] while creating Hyper-V socket

[11:02:34.658][VpnKit ][Error ] vpnkit.exe: Caught An address incompatible with the requested protocol was used.

### Information

  • Windows Version: 10
  • Docker Desktop Version: 2.0.0.0-win78 (28905)
  • Windows 10 Laptop

### Steps to reproduce the behavior

  1. Install Docker
  2. Docker is not starting

barisvelioglu avatar Apr 27 '20 08:04 barisvelioglu

After I upgrade to Docker 2.2.0.5, now logs

[11:46:46.415][GoBackendProcess ][Error ] Auto restarting process [11:46:47.753][VpnKitBridge ][Info ] time="2020-04-27T11:46:47+03:00" msg="listening on listen://00000000-0000-0000-0000-000000000000/000007CF-FACB-11E6-BD58-64006A7986D3..." [11:46:47.753][VpnKitBridge ][Info ] time="2020-04-27T11:46:47+03:00" msg="cannot set up multiplexer, will retry in 2s: An address incompatible with the requested protocol was used." [11:46:49.753][VpnKitBridge ][Info ] time="2020-04-27T11:46:49+03:00" msg="listening on listen://00000000-0000-0000-0000-000000000000/000007CF-FACB-11E6-BD58-64006A7986D3..." [11:46:49.753][VpnKitBridge ][Info ] time="2020-04-27T11:46:49+03:00" msg="cannot set up multiplexer, will retry in 2s: An address incompatible with the requested protocol was used." [11:46:51.753][VpnKitBridge ][Info ] time="2020-04-27T11:46:51+03:00" msg="listening on listen://00000000-0000-0000-0000-000000000000/000007CF-FACB-11E6-BD58-64006A7986D3..." [11:46:51.753][VpnKitBridge ][Info ] time="2020-04-27T11:46:51+03:00" msg="cannot set up multiplexer, will retry in 2s: An address incompatible with the requested protocol was used." [11:46:53.753][VpnKitBridge ][Info ] time="2020-04-27T11:46:53+03:00" msg="listening on listen://00000000-0000-0000-0000-000000000000/000007CF-FACB-11E6-BD58-64006A7986D3..." [11:46:53.753][VpnKitBridge ][Info ] time="2020-04-27T11:46:53+03:00" msg="cannot set up multiplexer, will retry in 2s: An address incompatible with the requested protocol was used." [11:46:55.754][VpnKitBridge ][Info ] time="2020-04-27T11:46:55+03:00" msg="listening on listen://00000000-0000-0000-0000-000000000000/000007CF-FACB-11E6-BD58-64006A7986D3..." [11:46:55.754][VpnKitBridge ][Info ] time="2020-04-27T11:46:55+03:00" msg="cannot set up multiplexer, will retry in 2s: An address incompatible with the requested protocol was used." [11:46:57.754][VpnKitBridge ][Info ] time="2020-04-27T11:46:57+03:00" msg="listening on listen://00000000-0000-0000-0000-000000000000/000007CF-FACB-11E6-BD58-64006A7986D3..." [11:46:57.754][VpnKitBridge ][Info ] time="2020-04-27T11:46:57+03:00" msg="cannot set up multiplexer, will retry in 2s: An address incompatible with the requested protocol was used." [11:46:59.754][VpnKitBridge ][Info ] time="2020-04-27T11:46:59+03:00" msg="listening on listen://00000000-0000-0000-0000-000000000000/000007CF-FACB-11E6-BD58-64006A7986D3..." [11:46:59.754][VpnKitBridge ][Info ] time="2020-04-27T11:46:59+03:00" msg="cannot set up multiplexer, will retry in 2s: An address incompatible with the requested protocol was used." [11:47:01.755][VpnKitBridge ][Info ] time="2020-04-27T11:47:01+03:00" msg="listening on listen://00000000-0000-0000-0000-000000000000/000007CF-FACB-11E6-BD58-64006A7986D3..." [11:47:01.755][VpnKitBridge ][Info ] time="2020-04-27T11:47:01+03:00" msg="cannot set up multiplexer, will retry in 2s: An address incompatible with the requested protocol was used."

barisvelioglu avatar Apr 27 '20 08:04 barisvelioglu

Try this:

Try this, I had the same issue: So I was actually able to solve it by doing the following:

Enter The following commands within an elevated command prompt:

Enable Hyper V - You can do this by running the following command as administrator. - dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All

Enable Hypervisor with following command - bcdedit /set hypervisorlaunchtype auto

Research: https://dotnetthoughts.net/hardware-assisted-virtualization-and-data-execution-protection-must-be-enabled/

Then Restart and prompt asks to download the Linux Kernel

Apparently Docker Desktop is forgetting this in their initial set-up for the updates and installation for anybody using Hyper-V and the Linux Containers requiring the WSL2 Linux Kernel Backend to initialize Containers. provided by Microsoft.

Microsoft Link: https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel

Download the above ^^

Stackoverflow Link: https://stackoverflow.com/questions/59413071/error-message-for-hyper-v-and-data-execution-for-docker-desktop-on-windows-10-fa/59653039#59653039

You need to Download wsl2-kernel. Similar Github Issue: https://github.com/docker/for-win/issues/6689

Richard-Barrett avatar May 13 '20 18:05 Richard-Barrett

Hi, @Richard-Barrett I did your steps, but still no luck. Do you have any other hint on this issue? @barisvelioglu did you solve the issue?

david-redano avatar Jun 08 '20 09:06 david-redano

Hi, @Richard-Barrett I did your steps, but still no luck. Do you have any other hint on this issue? @barisvelioglu did you solve the issue?

@dyxypyxy Unfortunately. I tried lots of things and no chance at all. I had to reinstall my Windows OS. After clear installation, it works now.

barisvelioglu avatar Jun 08 '20 09:06 barisvelioglu

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

docker-robott avatar Sep 06 '20 01:09 docker-robott

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

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

docker-robott avatar Nov 05 '20 03:11 docker-robott