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

No activity detected on VM, aborting #2253

Closed
2 tasks done
AdamMarton opened this issue Jul 25, 2018 · 87 comments
Closed
2 tasks done

No activity detected on VM, aborting #2253

AdamMarton opened this issue Jul 25, 2018 · 87 comments

Comments

@AdamMarton
Copy link

  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID: A9D40723-139E-4D11-B980-5B6CF922785E/20180725150540

Expected behavior

Docker should work after the 18.06 update.

Actual behavior

Docker cannot start, and gives me this:

No activity detected on VM, aborting
   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 77
   at Docker.Actions.<>c__DisplayClass16_0.<Start>b__0() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 61
   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

  • Windows Version: Windows 10
  • Docker for Windows Version: Version 18.06.0-ce-win70 (19075) Channel: stable 501df65

Also tried to reset Shared Drives' credentials, which won't save as well (could be related or an entirely different issue). Yes, I've restarted my host OS too.

Steps to reproduce the behavior

  1. Update Docker to 18.06.0-ce-win70
  2. Docker fails to start
@dpgover
Copy link

dpgover commented Jul 25, 2018

I have the exact same issue, same version of everything. Even tried the credentials reset... and they don't seem to be saved. The checks get unchecked...

Diagnostics ID: 72CE2702-9EA7-4778-9954-ABA297A75D0D/20180725110614

@Planswalker
Copy link

Had the same issue here. Was able to fix it by resetting to factory default settings... Was not exactly obvious that that would be the fix though.

@AdamMarton
Copy link
Author

@Planswalker I'd like to avoid this, if possible.

@dpgover
Copy link

dpgover commented Jul 25, 2018

@Planswalker Loosing all the containers is not really an option...

@ianwdunlop
Copy link

Got exactly the same after docker updated itself

No activity detected on VM, aborting
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 77
at Docker.Actions.<>c__DisplayClass16_0.b__0() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 61
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

There are a few mentions of kubectl not found in the diagnostics. Is that important? Does "reset to factory defaults" blitz all the existing containers? Don't want to click it just in case.

@dpgover
Copy link

dpgover commented Jul 25, 2018

@ianwdunlop It does. Its safe to click... it has a warning ans confirmation request, saying just that. It would nuke all the images, containers, etc.
I suppose kubectl is from Kubernetes, one of the new things in the update...

@dpgover
Copy link

dpgover commented Jul 25, 2018

Is there a way to downgrade to the previous version/build? I don't know where to find the installers 😭

@ianwdunlop
Copy link

I've gone for the factory reset. Luckily I had the data I needed backed up so it wasn't too much of a problem to get the containers running again but not a great advert for docker that an update has caused so much pain.

@AdamMarton
Copy link
Author

@dpgover tried downgrade, unfortunately Docker doesn't let you.

@awuit9090
Copy link

awuit9090 commented Jul 25, 2018

Exact same issue after updated to Version 18.06.0 this morning
Diagnostics ID: FCB9DA6D-E9B6-47BD-A254-DD26AB2CF0D8/20180725125435

No activity detected on VM, aborting
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 77
at Docker.Actions.<>c__DisplayClass16_0.b__0() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 61
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

@dpgover
Copy link

dpgover commented Jul 25, 2018

I couldn't wait any longer... I have to work... So I finally opted for the factory reset. Seems to be working.

@AdamMarton
Copy link
Author

AdamMarton commented Jul 26, 2018

Factory Reset resolves the issue, but this could not be an option for all of us.

@cybertk
Copy link

cybertk commented Jul 26, 2018

Same issue here, cannot afford Factory Reset, waiting other solutions.

@nphmuller
Copy link

Same issue here after updating to 18.06.0-ce stable.
Had to use Factory Reset to get Docker working again.

Goodbye cache :(

@Planswalker
Copy link

Okay, so after factory resetting yesterday, I turned on my computer this morning only to run into the same error. Factory resetting again is apparently only a temporary solution, at least for me.

@AdamMarton
Copy link
Author

@Planswalker that's huge! Hey @docker, do you plan to fix this?

@Planswalker
Copy link

Looks like they did - I just got an update notification, and after installing it Docker rebooted with no problems. Hooray!

@cybertk
Copy link

cybertk commented Jul 27, 2018

@Planswalker How do you get the update, no updates on my side.

image

@AdamMarton
Copy link
Author

Can confirm, update resolved the issue.

@cybertk update arrived automatically this morning. If that's not the case for you, hit 'Check for Updates' in Docker's context menu.

@cybertk
Copy link

cybertk commented Jul 27, 2018

@AdamMarton Could you please share your current Docker-For-Win version, as I was told already on latest version after hitting 'Check for Update'. But this issue is still there.

@AdamMarton
Copy link
Author

Hey @cybertk, here it is:
image

@ianwdunlop
Copy link

@cybertk Version Version 18.06.0-ce-win72 (19098) came in this morning. Seems to work so far. The issues listed as fixed seemed pretty much the same as previous version but so far it appears to work.

@cybertk
Copy link

cybertk commented Jul 27, 2018

Thanks for the information. But it's strange I cannot get the update, do you know if there is a way to upgrade manually?

@pahjuve89
Copy link

Using build 19098, I still am facing the same issue.
I don't plan to use the factory reset settings, so if there are any other things that I should do after the update, please do inform.

@AdamMarton
Copy link
Author

@cybertk I've already mentioned above.

@cybertk
Copy link

cybertk commented Jul 27, 2018

Upgraded to 19098 by downloading the installer from Docker Store. But the issue is still there.

@AdamMarton
Copy link
Author

@cybertk did you do a factory reset?

@cybertk
Copy link

cybertk commented Jul 27, 2018

Nope, I have important data in containers .

@QuintinRudman
Copy link

Issue is not resolved, still getting:

No activity detected on VM, aborting
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 77
at Docker.Actions.<>c__DisplayClass18_0.b__0() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 137
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

2018-07-27 23_31_54-196 29 129 195 - remote desktop connection

@omerciftcibasi
Copy link

uninstall and removing docker registries on windows
than install back docker worked for me.

@David-Renz
Copy link

Same issue:
Version: 2.0.0.0-win78 (28905)
Channel: stable
Sha1: c404a62c3fed918897334638c2dd2a368c115b76
Started on: 2018/11/19 15:38:00.892
Resources: C:\Program Files\Docker\Docker\Resources
OS: Windows 10 Pro
Edition: Professional
Id: 1803
Build: 17134
BuildLabName: 17134.1.amd64fre.rs4_release.180410-1804

@IngMoscato
Copy link

IngMoscato commented Nov 28, 2018

I wanted to modify data-root path in config file and with Linux Containers I can't do it, but with Windows Containers I can.
I suppose that there is a problem to pass "windows-style" paths to linux containers through windows powershell and generally with windows volumes sharing.
I noticed that because, with linux containers, I always receive a "can't find path" error with an elementary command like for example:
docker run --name mongo1 -d mongo --config C:\data1\config\mongod.cfg

@chlumper
Copy link

Possible duplicate of #2404

@SvenLauterbach
Copy link

Just an update from my side.

On my current setup docker does work. I'm running docker inside a Hyper-V VM (Version 9.0) where both, the host and guest is running the latest Windows 10 version 1809 (17763.195). Using the edge channel version does work.

image

@Bidthedog
Copy link

Running Docker For Windows 2.0.0.0-win81 (29211) in a Win 10 Hyper-V VM, getting the same error:

No activity detected on VM, aborting
   at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) in C:\workspaces\stable-18.09.x\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:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 92
   at Docker.Actions.<>c__DisplayClass19_0.<Start>b__0() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 74
   at Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:line 59

Excerpt from the logs (diagnostic ID = C08ADECF-548F-4CC3-8737-BD8A79BC8EF0/20190104144108):

[14:39:09.204][HyperV         ][Info   ] Attach DVD C:\Program Files\Docker\Docker\Resources\docker-for-win.iso
[14:39:09.329][HyperV         ][Info   ] Attach Config ISO C:\ProgramData\DockerDesktop\tmp-d4w\config.iso
[14:39:09.954][HyperV         ][Info   ] Attach Docker ISO C:\Program Files\Docker\Docker\Resources\docker.iso
[14:39:11.594][HyperV         ][Debug  ] [start] took 00:00:02.9531216 to run
[14:39:12.665][Moby           ][Info   ] Connected
[14:41:08.669][NamedPipeClient][Error  ] Unable to send Start: No activity detected on VM, aborting
[14:41:08.669][Notifications  ][Error  ] No activity detected on VM, aborting
[14:41:08.664][NamedPipeServer][Error  ] Unable to execute Start: No activity detected on VM, aborting    at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings, String daemonOptions) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 268
   at Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 117
[14:41:08.688][NamedPipeClient][Info   ] Sending Version()...
[14:41:08.688][NamedPipeClient][Info   ] Received response for Version
[14:41:08.688][NamedPipeClient][Info   ] Sending GatherDiagnostics(-path C:\Users\User\AppData\Local\Temp\ gather -id C08ADECF-548F-4CC3-8737-BD8A79BC8EF0/20190104144108, C:\Users\User\AppData\Local\Temp\C08ADECF-548F-4CC3-8737-BD8A79BC8EF0/20190104144108.zip)...
[14:41:08.688][NamedPipeServer][Info   ] Version()
[14:41:08.688][NamedPipeServer][Info   ] Version done in 00:00:00.

Steps to reproduce:

Have tried all manner of settings in host's BIOS, and the VM docker and Hyper-V installations. I've also tried a clean reinstall of both docker and Hyper-V in the VM. I've received plenty of other errors but I've worked through them to this point.

FYI Docker runs fine on the host machine, but that's one of the things I'm hoping to offload to my development VM.

@embusalacchi
Copy link

Yeah, it's unable to figure out a timer setting (if memory serves be correctly, I've given up on nested docker unfortunately). If you start the VM directly and watch the boot it hangs.

@sschaerli
Copy link

sschaerli commented Jan 8, 2019

Running Docker For Windows 2.0.0.0-win82 (29268) in a Win 10 (Version 1709) VMware VM, getting the same error:


[12:39:29.592][NamedPipeClient][Error  ] Unable to send Restart: No activity detected on VM, aborting
[12:39:29.592][Notifications  ][Error  ] No activity detected on VM, aborting
[12:39:29.589][NamedPipeServer][Error  ] Unable to execute Restart: No activity detected on VM, aborting    bei Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings, String daemonOptions) in C:\workspaces\edge-18.09.x\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:Zeile 268.
   bei Docker.Backend.ContainerEngine.Linux.Restart(Settings settings, String daemonOptions) in C:\workspaces\edge-18.09.x\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:Zeile 189.
   bei Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>b__0(Object[] parameters) in C:\workspaces\edge-18.09.x\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:Zeile 48.
   bei Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\workspaces\edge-18.09.x\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:Zeile 180.

@walked
Copy link

walked commented Jan 12, 2019

Running Docker For Windows 2.0.0.0-win82 (29268) in a Win 10 (Version 1709) VMware VM, getting the same error:


[12:39:29.592][NamedPipeClient][Error  ] Unable to send Restart: No activity detected on VM, aborting
[12:39:29.592][Notifications  ][Error  ] No activity detected on VM, aborting
[12:39:29.589][NamedPipeServer][Error  ] Unable to execute Restart: No activity detected on VM, aborting    bei Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings, String daemonOptions) in C:\workspaces\edge-18.09.x\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:Zeile 268.
   bei Docker.Backend.ContainerEngine.Linux.Restart(Settings settings, String daemonOptions) in C:\workspaces\edge-18.09.x\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:Zeile 189.
   bei Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>b__0(Object[] parameters) in C:\workspaces\edge-18.09.x\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:Zeile 48.
   bei Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\workspaces\edge-18.09.x\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:Zeile 180.

Same exact here inside a VMWare VM. Tried factory reset to no success. Unfortuante as I require VMWare on my workstation; so I figured running in VMWare is the next best solution; but no dice. :(

@vitalybibikov
Copy link

vitalybibikov commented Jan 21, 2019

Win 1803, latest docker, running in VM, was not working for Linux Containers.

After 2 days of trying:

  1. Disable H-V and Containers in Features
  2. Restart.
  3. Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All from elevated PS
  4. Enable Containers.
  5. Services => Start docker not under local account => admin will do
  6. Restart
  7. Profit

@alex-dylda
Copy link

Same issue with Win 10 Enterprise 1809 and docker 2.0.03 (31259)
@vitalybibikov , tried your solution but it didn't help.

No activity detected on VM, aborting
   at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeClient.cs:line 36
   at Docker.Actions.<>c__DisplayClass28_0.<SwitchDaemon>b__0() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 305
   at Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:line 59

@nihaals
Copy link

nihaals commented Apr 17, 2019

Windows 10 Pro 1809 Build 17763.437
Docker Desktop Community 2.0.0.3 (31259) Build 8858db3

No activity detected on VM, aborting
   at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) in C:\workspaces\stable-18.09.x\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:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 92
   at Docker.Actions.<>c__DisplayClass19_0.<Start>b__0() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 74
   at Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:line 59

Simply right clicking the tray icon and restarting allows it to start fine

@alex-dylda
Copy link

@OrangutanGaming , of course I tried to restart, then tried to factory reset, than tried to reinstall, than tried to go through steps that @vitalybibikov provided.
But still no success.

@nihaals
Copy link

nihaals commented Apr 17, 2019

Every time you start you get that error? I wasn't really providing a fix, I just wanted to provide my log incase docker want more info

@alex-dylda
Copy link

After restarting it looks like docker work. But I see that it doesn't apply any changes that I make.
For example I defined proxy and docker is restarting successfully, but I see that no proxy is used. So docker still can't do anything because we are working under proxy.
P.S. If i switch to windows containers and define proxy it works correct.

@alex-dylda
Copy link

And If I quit from docker and open it again it will open in Windows mode.

@sschaerli
Copy link

I fixed it manually like the following steps and I don't use Docker Desktop anymore. This helped me (see also).

  • Create a virtual switch, refer to this article on how to do that
  • Create a docker machine using that network switch and hyper-V driver.

docker-machine create -d hyperv --hyperv-virtual-switch "name of the virtual switch created above" default

@Nek0trkstr
Copy link

@sschaerli Sir, you saved my day =)

NJLangley added a commit to NJLangley/windows-dev-box-setup-scripts that referenced this issue May 9, 2019
…s Docker for Windows does not work correctly. See here for further details docker/for-win#2253
NJLangley added a commit to NJLangley/windows-dev-box-setup-scripts that referenced this issue May 17, 2019
…s Docker for Windows does not work correctly. See here for further details: docker/for-win#2253
@joshua-barber
Copy link

joshua-barber commented Jun 18, 2019

Ran into this issue starting about a week ago.
Windows 10 Pro 1809 Build 17763.557
Docker Desktop 2.0.0.3 (31259) Build 8858db3
Crash report submitted: 6B9C68D0-5F1E-40D8-BDED-A8A6B0C71182/20190618211019
Content:
No activity detected on VM, aborting
at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) in C:\workspaces\stable-18.09.x\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:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 92
at Docker.Actions.<>c__DisplayClass19_0.b__0() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.Windows\Actions.cs:line 74
at Docker.WPF.TaskQueue.<>c__DisplayClass19_0.<.ctor>b__1() in C:\workspaces\stable-18.09.x\src\github.com\docker\pinata\win\src\Docker.WPF\TaskQueue.cs:line 59

@dspathak
Copy link

Win 1803, latest docker, running in VM, was not working for Linux Containers.

After 2 days of trying:

  1. Disable H-V and Containers in Features
  2. Restart.
  3. Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All from elevated PS
  4. Enable Containers.
  5. Services => Start docker not under local account => admin will do
  6. Restart
  7. Profit

This worked for me. First disabling and then re-enabling hyper-V and then reinstalling docker for desktop.

@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 29, 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