-
Notifications
You must be signed in to change notification settings - Fork 286
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
Error 'Access is denied' from NamedPipeClient when starting Docker 10.03.1 on Windows 10 1803 #1989
Comments
@maximdim
|
I'm seeing this problem as well. Prior version of Docker was working for me with Windows 10 (1803), but now even if I revert to previous builds I get the Access Denied error. I believe it's related to some Docker-created registry entries that were created with some kind of permission level so that an uninstall leaves things behind. I've tried uninstalling Docker, and then tried removing Hyper-V, in order to start from scratch. The problem is that due to some of the mentioned registry entries that are left behind after uninstalling Docker, Hyper-V will not uninstall. The Hyper-V uninstall seems to go OK until the end when it says that it can't be done, so the uninstall is cancelled. A point of note is that with Docker uninstalled, the Hyper-V Manager still shows a DockerNAT switch (again due to the registry entries). The following Docker related registry entries are left behind after the uninstall:
Really, there needs to be a tool to totally clean up after Docker is removed. At this point I'm SOL with a broken Docker. |
There was some discussion and subsequent changes based on:#1732 (comment) Could you check the permission of the named pipe with:
and check if your user is in the
|
@rn , I checked and I am part of
I tried some of the suggestions in #1732, specifically after uninstalling Docker, I removed the |
The only Docker related pipes I see are:
I'm not sure when |
Ah, so from the logs there is:
weirdly it still tries to boot the VM... I'll file an internal issue |
@asampal yes and no. We start a proxy to intercept docker CLI calls to forward them to the Linux VM (or the windows containers. Something, when creating them seem to fail on your system |
@rn do you have any suggestion as to where I can look to try and resolve this? |
@asampal |
Oh no, just re-check and it seems to fail when it tries to open ports for proxy in firewall:
this last call got |
I tried to change my firewall settings on my 16299 but cannot reproduce maybe it is related to your insider build, will try on another machine |
@ebriney for me the problem showed on the final 1803, not an insider build. In any case, I ended up going back to the previous version of Windows (prior to the 1803 update) and finally got the latest stable Docker to work. I'll try to wait this problem out a bit before I let my system try the update again. |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an 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. |
Crossposting from #1887 to maybe help anyone running into this issue. For me (diagnostics ID DC0F15FC-416F-4314-9DE4-476C1AF742F7/20190213184211) this error occurs because Windows Firewall Control (from binisoft.org) prevents other programs from modifying windows firewall rules and settings.
Why does docker need to modify the firewall every time it starts? Can't we get a rule or set of rules included once? It kinda sucks to have to disable and re-enable firewall protection every time I want to start docker. |
Very interesting. I was also running WFC when I got that error. Still using it (and Docker) but don't see this issue again. |
Closed issues are locked after 30 days of inactivity. 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. |
Expected behavior
Docker starts.
Actual behavior
Docker failing to start with the following error:
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeClient.cs:line 36
at Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 67
at Docker.Actions.<>c__DisplayClass14_0.b__0() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 51
at Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:line 59
Information
Tried to reset Docker, removed and installed again, restarted Windows - same error.
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: