Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker hv-sock proxy (vsudd) is not reachable #971

Closed
WillNye opened this issue Aug 2, 2017 · 23 comments
Closed

Docker hv-sock proxy (vsudd) is not reachable #971

WillNye opened this issue Aug 2, 2017 · 23 comments

Comments

@WillNye
Copy link

WillNye commented Aug 2, 2017

Expected behavior

Docker starts

Actual behavior

Docker crashes

Information

Build Info:
Version: 17.06.0-ce-win19 (12801)
Channel: stable
Sha1: c98c1c25e05a39ca8ef5394baa1d68f92f8e5008
Started on: 2017/08/02 14:18:13.527
Resources: C:\Program Files\Docker\Docker\Resources
OS: Windows 10 Pro
Edition: Professional
Id: 1703
Build: 15063 & 14393
BuildLabName: 15063.0.amd64fre.rs2_release.170317-1834

Diagnostic Id: 007C72D5-6F84-43FE-A1E6-0A19FDB3EF88/2017-08-02_14-18-20

I have been running Docker without issue since 6/27 in a swarm on 3 different physical hosts until 8/1 when each system crashed with the following error:

Docker hv-sock proxy (vsudd) is not reachable
   at Docker.Backend.ContainerEngine.Linux.ConnectToVsud(TaskCompletionSource`1 vmId)
   at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings)
   at Docker.Backend.ContainerEngine.Linux.Start(Settings settings)
   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>b__0(Object[] parameters)
   at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)

I was able to get our one system that runs Windows Server 2016 working after some updates but the 2 running Windows 10 will not come back up.

Things I've tried in various order:

  1. DNS Flush
  2. Update Windows
  3. Update Docker
  4. Disabled Docker experimental features
  5. Disable Hyper-V and let Docker re-enable it
  6. Hyper-V back to factory settings
  7. Turned off auto start for Docker (verifying it ran as admin)
  8. Uninstall/ Reinstall Docker

Issues I've referenced:
#271 #447 #568 #606 #614 #904 #970

Note:
I've always ran Docker For Windows as Admin so I didn't add it in things I've tried

Steps to reproduce the behavior

Install Docker on Windows 10?

EDIT:

Our Boot2Docker instance on Windows Server 2016 is running but it appears to be having issues. I was just going to throw an ubuntu instance on the other 2 machines and add them to the swarm but the vm hangs when I try to get the join token.

@ResourceHog
Copy link

I too have the same exact error.

@rni-iwanaga
Copy link

i have the same error.

B6814FCC-9424-4777-97A5-ABB1D3D197E9/2017-08-03_16-32-15

@jasonbivins
Copy link

@WillNye
Can you check to see if the Docker for Windows service is running? It doesn't seem to be up and connected from what I see in the logs.

@jasonbivins
Copy link

@rni-iwanaga You're getting the same error - can you try to restart the Docker for Windows service as well? You can also try stopping the service - setting it to manual and then restarting. Docker will pop up and ask you to start when windows starts.

@WillNye
Copy link
Author

WillNye commented Aug 3, 2017

@jasonbivins

I think it may have not come back up after one of the times I ran the logs
I did start the service on a different machine that is experiencing the same issue as the server (we've since moved the docker nodes to an Ubuntu VM) where it hangs when waiting for SSH to be available.

Diagnostic ID: 1C3AC770-FD9B-45A2-8F1F-AB9907B8F4D5/2017-08-03_11-28-47

@Reppinger
Copy link

Reppinger commented Aug 4, 2017

I was getting this also. In my case I'm running Windows 10 Pro in a Parallels 12 Pro VM. I allowed Docker to turn on Hyper-V. I got the error when Docker auto-started after the required reboot for turning on Hyper-V. Docker Service was running.
I updated my proxy settings, applied and the same error occurred. Then, I "Quit Docker" and manually started. This time Docker started with no error. Finally, just for good measure, I rebooted the VM and Docker auto-started with no error.
Not sure if any of that is helpful.

@rni-iwanaga
Copy link

@jasonbivins
I tried to restart the service. B6814FCC-9424-4777-97A5-ABB1D3D197E9/2017-08-09_11-38-14
Manual starts and On/Off Hyper-v didn't work also. (I got the same error)

@sryabkov
Copy link

sryabkov commented Aug 9, 2017

A variation of what @Reppinger did, worked for me too (I didn't do anything with the proxy settings). I have the same setup: Windows 10 (1703) Pro in a Parallels 12 VM. The original problem started happening after I switched from Windows to Linux containers.

@kai2nenobu
Copy link

I experienced the same error, but I recovered as below (like @spewu in #792).

  1. Switch to Windows container... from system tray
  2. Restart my machine
  3. Docker (for Windows containers) starts automatically with no errors
  4. Switch to Linux containers... from system tray

After this procedure, docker has worked as expected.

Information

Version: 17.06.0-ce-win19 (12801)
Channel: stable
Sha1: c98c1c25e05a39ca8ef5394baa1d68f92f8e5008
Started on: 2017/08/10 22:36:50.684
Resources: C:\Program Files\Docker\Docker\Resources
OS: Windows 10 Pro
Edition: Professional
Id: 1703
Build: 15063
BuildLabName: 15063.0.amd64fre.rs2_release.170317-1834

@dashixiong91
Copy link

1.Switch to Windows container, it is ok!
2.Switch to Linux containers, I got same error

@xtophs
Copy link

xtophs commented Sep 14, 2017

Switching to Windows containers, then back to Linux containers.
Things start working without a reboot in between.

@alphen
Copy link

alphen commented Sep 19, 2017

Experienced the same error, managed to got it running again after the following steps;

  • Close the 2 Docker services; "Docker for windows" and "Docker.Service".
  • Run Docker for Windows as administrator.

@awidjaja
Copy link

awidjaja commented Sep 23, 2017

I have the same issue
#1119

Update: no more issue on Version 17.12.0-ce-rc2-win41 (14746).

@tsasioglu
Copy link

Restarting the Docker for Windows service fixed the issue for me.

@ierturk
Copy link

ierturk commented Dec 15, 2017

I got the same issue for a while. It seems to be related with Git for Windows on my Windows 10 x64 system. When I removed GFW, Docker for Windows runs as expected. So I tried to install GFW separately from Windows environment (Git commands only available from Git Bash but not Windows CMD or PowerShell), again DFW is OK.

So I think there is a conflict between DFW and GFW environments. I hope DFW keep work as is. Hope this helps.

@tranquyetdev
Copy link

After try many solutions above, Docker still did not run on my Window 10 Pro lastest version. I decide to remove Docker for window Stable version, and then install Edge version, => restart machine => Run Docker by Administrator =? It works now. Awesome :))

@dschulten
Copy link

dschulten commented Feb 17, 2018

My Windows Version according to systeminfo in cmd is:

Betriebssystemname:                            Microsoft Windows 10 Pro
Betriebssystemversion:                         10.0.16299 Nicht zutreffend Build 16299

Restarting the Docker for Windows service did not help.
Installing the edge version 0.18.2 did not help.
Removing the git folder from PATH did not help either (git no longer found in cmd).
From 1802 it is possible to run linux containers while using windows containers. I switched to Windows containers and Docker is starting. In order to run linux containers, you have to use docker run --platform linux ....
The docker hello container runs fine: docker run --rm busybox echo hello
Unfortunately mysql:5.6, 5.7 and 8.02 are all not working with LCOW for me, see also MariaDB/mariadb-docker#144

Used https://chocolatey.org/packages/docker-for-windows/17.09.1.14687 to downgrade, for the moment it seems to work now. An installer for the same version can be obtained from https://download.docker.com/win/stable/14746/Docker%20for%20Windows%20Installer.exe

The fact that one cannot trust the official stable download for several months now is really frustrating.

@arthurdn
Copy link

Removing or changing of priority for third party software with high CPU consumption fixed everything.

@ctmcisco
Copy link

ctmcisco commented Mar 6, 2018

For anyone following this ticket:

Try the following:

  1. Switch or stay on Windows Containers.
  2. Disable the "Start when Windows starts" setting.

image

  1. Exit Docker application
  2. restart docker services via PowerShell

get-service docker | Restart-Service -Force -Verbose

  1. Launch Docker , Run as Admin
  2. Swtich to Linux Containers.

TEST:

Reboot Windows 10
Launch Docker
Does it work?

You can also parse the docker log in PowerShell for troubleshooting:

cat C:\Users\USERPROFILE\AppData\Local\Docker\log.txt -tail 10 -wait

@csaladenes
Copy link

Run as admin fixed it.

@veeshall
Copy link

Installed the Edge Version (instead of Stable Version) - and its working fine now

@docker-robott
Copy link
Collaborator

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d 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
Copy link
Collaborator

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 docker locked and limited conversation to collaborators Jun 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests