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

Docker not starting in windows 10. "Unable to stop: Killed VM MobyLinuxVM did not stop"

Open prem5192 opened this issue 9 years ago • 29 comments

Expected behavior

Docker to start.

Actual behavior

Not able to start and getting the error message : "Unable to stop: Killed VM MobyLinuxVM did not stop"

Information

Logs for the issue is provided below : Unable to stop: Killed VM MobyLinuxVM did not stop at Fatal, : line 372 at Stop-VM-Force, : line 360 at Stop-MobyLinuxVM, : line 298 at , : line 379 at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters) at Docker.Backend.ContainerEngine.Linux.DoStop() at Docker.Backend.ContainerEngine.Linux.Start(Settings settings) at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass8_0.b__0(Object[] parameters) at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)

Using docker stable version. Version 17.03.1-ce-win5 (10743) Channel: stable b18e2a5

Steps to reproduce the behavior

  1. Started my windows 10 machine.
  2. Waited for docker to start automatically on windows start up.
  3. Docker is not starting and throws the above log.

Note : Docker was working fine for past few days. Facing this issue suddenly. Provide a quick response ASAP.

prem5192 avatar Apr 17 '17 05:04 prem5192

Could you provide a diagnostic ID please ?

simonferquel avatar Apr 19 '17 14:04 simonferquel

I have one with the same problem: "7A9EC775-E969-4FE8-B7B1-71338B6F73FF/2017-04-22_22-56-36"

afurculita avatar Apr 22 '17 20:04 afurculita

same problem

cavamagie avatar May 10 '17 12:05 cavamagie

same issue: Diagnostic ID : 4EDE3868-4668-4AC8-9725-59B20FA5CF49/2017-05-27_18-36-02

nxhoang avatar May 27 '17 11:05 nxhoang

same :

Unable to stop: Killed VM MobyLinuxVM did not stop
at Fatal, <No file>: line 372
at Stop-VM-Force, <No file>: line 360
at Stop-MobyLinuxVM, <No file>: line 298
at <ScriptBlock>, <No file>: line 379
   at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters)
   at Docker.Backend.ContainerEngine.Linux.DoStop()
   at Docker.Backend.ContainerEngine.Linux.Start(Settings settings)
   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass8_0.<Register>b__0(Object[] parameters)
   at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)

Diag ID: F1A76EF4-52A9-4D96-9DFB-90EE5A4CB9C8/2017-06-07_15-32-14

itpcc avatar Jun 07 '17 08:06 itpcc

Same:

Unable to stop: Killed VM MobyLinuxVM did not stop
at Fatal, <No file>: line 376
at Stop-VM-Force, <No file>: line 364
at Stop-MobyLinuxVM, <No file>: line 302
at <ScriptBlock>, <No file>: line 383
   at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters)
   at Docker.Backend.ContainerEngine.Linux.DoStop()
   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)

Diagnostic ID: 16C2ABCA-E0D7-4815-8547-D27330119F5C/2017-07-14_16-18-07

dariusstrasel avatar Jul 14 '17 20:07 dariusstrasel

Same on Win10 Enterprise

Unable to stop: Killed VM MobyLinuxVM did not stop
at Fatal, <No file>: line 376
at Stop-VM-Force, <No file>: line 364
at Stop-MobyLinuxVM, <No file>: line 302
at <ScriptBlock>, <No file>: line 383
   at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\HyperV.cs:line 177
   at Docker.Backend.ContainerEngine.Linux.DoStop() in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 280
   at Docker.Backend.ContainerEngine.Linux.Start(Settings settings) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 123
   at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>b__0(Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 47
   at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 145

Premier avatar Jul 16 '17 20:07 Premier

Facing the same issue. Any updates?

ssh24 avatar Jul 17 '17 23:07 ssh24

Is there any update? I always get this issue after I restart.

sherryhw avatar Aug 16 '17 14:08 sherryhw

Any updates? Same issue 47763231-CFD0-43C5-BACB-6525AE0F5955/2017-08-17_09-39-06

gastongamietea avatar Aug 17 '17 15:08 gastongamietea

Is anyone going to look into this issue?

combrinckd avatar Aug 23 '17 07:08 combrinckd

I just now installed Docker for Windows on my Windows 10 Enterprise (Creators Update, build 1703) laptop. Got the same error, same line numbers as posted by user "Premier" above. I installed, when I ran it the first time, it asked me to enable Hyper-V (nice that it does that), which it restarted to enable. On first subsequent login, got the "An error occurred" dialog window with this same error.

I sent the crash report, diagnostic id = E6AFFE95-E592-4623-B3F3-D9484DFB7AC5/2017-08-29_16-19-42

Kirkaiya avatar Aug 29 '17 23:08 Kirkaiya

Fixed the issue for me when I ran the Docker for Windows application as an Administrator.

ssh24 avatar Aug 30 '17 00:08 ssh24

I restored my windows disk today from an acronis backup. Then I tried to start Docker. Failed with the error as described. In Hyper-V manager I saw the state of the MobyLinuxVM was *critical.

So I deleted the MobyLinuxVM from within Hyper-V manager and restarted Docker. MobyLinuxVM was recreated and now Docker runs fine.

Kurdym avatar Oct 02 '17 18:10 Kurdym

Restarted again as an adminstrator and it is working fine thanks to @ssh24

AbdulSayyed avatar Dec 29 '17 17:12 AbdulSayyed

Any other solution then running as an administrator ? Same problem during the first start of docker.

DiagnosticID = 75B15248-C24F-4525-98E9-FC22F1DA3D0D/2018-01-25_15-54-20

boys-dont-cry avatar Jan 25 '18 14:01 boys-dont-cry

@pimp89 you could try @Kurdym solution. Delete the MobyLinuxVM from withing Hyper-V manager and then restart your Docker.

snegas avatar Feb 13 '18 21:02 snegas

Same issue. DiagnosticID = 48203ACF-9A65-46C7-97A6-243A77C54BA8/2018-02-20_10-33-40

juanxjk avatar Feb 20 '18 13:02 juanxjk

Please take a look at this issue: #1656 The suggested powershell cleanup of HyperV worked for me

mattsgreen avatar Feb 26 '18 22:02 mattsgreen

It can be closed

2018-03-06 22:47 GMT+01:00 shivakumarjava1 [email protected]:

Is this issue still open?

Unable to stop: Killed VM MobyLinuxVM did not stop at Fatal, : line 400 at Stop-VM-Force, : line 388 at Stop-MobyLinuxVM, : line 326 at , : line 407 at Docker.Backend.HyperV.RunScript(String action, Dictionary`2 parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\HyperV.cs:line 181 at Docker.Backend.ContainerEngine.Linux.DoStop() in C:\gopath\src
github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 306 at Docker.Backend.ContainerEngine.Linux.Start(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker. Backend\ContainerEngine\Linux.cs:line 129 at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.b__0(Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker. Core\pipe\NamedPipeServer.cs:line 47 at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker. Core\pipe\NamedPipeServer.cs:line 145

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/docker/for-win/issues/651#issuecomment-370940210, or mute the thread https://github.com/notifications/unsubscribe-auth/AD1_yESpRvVwbpodCv8wNYNm4JnuPNY3ks5tbwPYgaJpZM4M-45X .

boys-dont-cry avatar Mar 09 '18 17:03 boys-dont-cry