-
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
Docker fails to start on Windows 10 #27
Comments
I am see a similar issue with the Anniversary update (version 1607). Here is my docker version output.
|
Same problem here. Output of
Additional environment details (AWS, VirtualBox, physical, etc.):
Steps to reproduce the issue: Describe the results you received: Describe the results you expected: Additional information you deem important (e.g. issue happens only occasionally):
|
I fixed my problem with hyper-v console and choosing MobyLinuxVM and right mouse click to update settings to newest. Then it gave warning that it is not running with older version of Hyper-V but after that. I managed to start Docker again. Situation before: I updated my Windows 10 to newest version and docker for windows hangs in situation ..."Starting ". Before update I killed all docker and Hyper-V processes ( I do not know if its realy needed) |
I reverted back from the windows 10 anniversary update and now it works again. So it might be a temporary solution for you too, until they'll sort it out. |
In general, several of us run the anniversary update (including WSL) and we do test releases on it as well and we haven't seen any issues. So we are curious to get to the bottom of this. @Morgy93 when you say "Upgraded configuration from 7.0 to 8.0" what do you mean? |
@rneugeba I suspect it's the Hyper-V VM configuration version |
I was finally able to get the 'stable' release running on 1607 on a PC that had previous failures. Here are the steps I used.
Notes:
Update: I have seen an install succeed with the PC connected to the network, although this is not reproducible.
|
I seem to have some of the same issues. Should #28 and this be merged into one? |
@PetaPetaPeta I agree that the issue I am seeing matches #28. However the original issue that @sdevane reported is a different issue in MobyLinuxVM:
So I suggest we keep #28 for the issue we are seeing and #27 reflects @sdevane original issue. |
I guess I tried almost everything possible related to network stuff. Even though I reported thousands of crash reports already, here's the latest one: EF5CEE54-6553-4655-A810-98A1549E5A7D/2016-08-09_19-30-33 |
There seem to be other people out there who are having the same issue, probably using some whole different VM: https://social.technet.microsoft.com/Forums/en-US/a539273e-d80e-4dcb-993a-5b1dd0935728/vm-not-starting?forum=virtualserver |
I'm sure now. I tried the HoloLens emulator and Windows Phone emulator from Visual Studio 2015 (I used the Windows Phone emulator before and it always worked fine) and both VM fail to start with the same error as the docker VM. So I'm creating a new thread over here: https://social.technet.microsoft.com/Forums/windows/en-US/home?forum=win10itprovirt |
Temporary fix proposed here(#28 (comment)) is a working workaround for me. |
I am having the same issue with a fresh install of docker and I am completely lost. I keep getting the following error. I have tried to re-install docker, remove everything, but nothing works.
Attached are the log files. Anyone have any idea because I am lost. Below are the versions I am running:
|
id = 5A0795B3-B950-4CC3-B296-F392FD31D7B2/2016-08-16_21-19-47 The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Hyper-V encountered an error trying to access an object on computer 'AJ' because the object was not found. The object might have been deleted, or you might not have permission to perform the task. Verify that the Virtual Machine Management service on the computer is running. If the service is running, try to perform the task again by using Run as Administrator. |
For those who still experience this issue, could you try un-installing and then install the latest Beta (Beta23) from here: https://download.docker.com/win/beta/InstallDocker.msi We made some significant changes to the way the VM is created/started but also improved the diagnostics so it would be useful for us to know if this issue is resolved. |
I have a similar issue.
Logs for a restart:
|
@tomgeorge thanks for the report. Could you provide the diagnostics id? Thanks |
@rneugeba do you mean the crash report id? if so, one you can reference is: 8e3a687d-9c88-4adc-8572-2630686aad6b Also, I have a few more pieces of info for you. Here's my current docker version (I have tried stable and beta): And looking through the event viewer in windows, I see a couple of things that might be of interest: One Critical Error from source Hyper-V-VMMS, Event ID 15350, with the description "The virtualization infrastructure driver (VID) is not running." One Critical Error from source Hyper-V-VMMS, Event ID 14096, with the description "Virtual Machine Management service failed to start." And for each attempt to start docker, the following events: Event ID 15130, 'MobyLinuxVM' failed to start. (Virtual machine ID ) Event ID 15500 'MobyLinuxVM' failed to start worker process: The process terminated unexpectedly. (0x8007042B). (Virtual machine ID )' VirtualBox and an OLD version of docker toolbox was installed on my computer when I enabled Hyper-V and installed docker for windows. |
Mine also still does not start running the new beta. I also reset docker to default settings and still nothing.
Diagnostic ID - 29B832CD-87FF-4E78-9985-50BAB90BABD7/2016-08-20_08-44-06 |
@rneugeba We obviously need to wait for a solution from Microsoft. |
I can't believe it - I found a solution to this. I was using "COMODO Internet Security Pro" as my 3rd party firewall, anti virus, sandbox and whatsoever program - after I removed it completely and rebooted my pc, all of my Hyper-V VM are working again - including docker of course. Finally I can benefit from the new "Bash on Ubuntu on Windows" terminal in addition to Docker for Windows. ("Full" Linux experience on Windows, yay :D) |
Fun thing .. it's already reported on the official COMODO forums and they're aware of it: https://forums.comodo.com/bug-reports-cis/comodo-firewall-began-conflict-with-hyperv-t116351.0.html |
I was running on Windows 10 (inside a Parallels VM . MacOs) I realized that virtualization wasn't enabled on windows vm. |
Experienced something similar, Docker won't start. Luckily I only had to restart Docker thru Settings > Reset > Restart Docker.. and that made it work. |
@gabrielrb thanks, it's really nice to hear that the docs helped 🙂 |
These steps got me further, it is similar to some steps previously mentioned.
|
@gabrielrb @Maliek I'll have another look at the docs and see if I can use your experience here to clarify some of this. Thanks for following up on this thread. |
Had this is issue too. A really simple fix was disabling Docker for Windows on startup. Starting it manually seems to give Hyper-V enough time to do it's thing and sync with Docker. Hope this helps any vagrants from Google! |
Please how do I solve this? Unable to stop: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The specified module 'Hyper-V' was not loaded because no valid module file was found in any module directory. |
Docker for Windows: Version 17.09.0-ce-win33 (13620) Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Creating the virtual machine failed. |
I had similar issue when I installed Docker CE for Windows Version 17.11.0-ce-rc4-win39 (14244) Channel: edge e557194 on Windows 10. In Command/cmd windows, when I tried to run commands docker ps, docker version, docker info, the I got error like “error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.34/version” every time. To resolved this issue,
After second restart, above docker commands started working and giving proper output. So, turning Hyper-V off and then on resolved this issue for me. |
Just thought I'd add my own crash log. (Since I keep having this issue.)
Windows version is:
It's my work machine so I cant mess about with turning off AV solutions and what not. It was working fine up until Wednesday. (I did upgrade windows on Tuesday.) |
Hey all, this frustrating error plagued me for three days. I attempted everything that I read above and nothing worked. For me it finally came to windows updates. I needed to have my windows FULLY updated. When you open the "Check for Updates" control panel, make sure you click "Check online for updates from Microsoft Update". My local policies are set in such a way that this is not done normally, and so the "Your device is up to date." message was misleading for me as I needed to install a major Windows update. For the record, I am fully up to date with Window 10 Enterprise, Version 1709, OS Build 16299.192. After I updated everything. I reset Hyper V via the steps mentioned by @slpixe. Then did a fresh install of the latest stable build of Docker for Windows and all was well!!! Be sure to restart manually after installing Docker, so the the commands show up in your shell windows. Hopefully, this helps someone!!! |
Installed Docker for Windows via Lando on a fresh installation of Windows 10 Pro, Version 1709, OS build 16299.192. Initial installation seemed successful. Dockers auto upgrade to latest version gave me the error above. I was able to fix the issue by Launching Hyper-V Manager to Shut down the MobyLinuxVM. I relaunched the Docker installer and the issue was resolved. Cheers! |
Just thought I'd chip in, I have problems with Docker starting on Windows 10 in bootcamp on a MacBook Pro maybe once a week or two weeks. Turns out the Mac does something strange and at some point starts telling Windows that it does not in fact support any form of virtualisation, which naturally causes Hyper-V to barf. A quick visit to MacOS and a reboot, and it works again. I spent a fair few hours trying to figure this out before 2+2=5 and I connected the dots. |
#5010 Docker startup issue. Didnt have this issue previously. |
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 should start
Actual behavior
Docker fails to start and an Error reported in a window
Information
Steps to reproduce the behavior
Windows 10 pre and post Windows 10 anniverssary editions latest builds
A diagnostic was uploaded with id: 5829B164-D591-4EF5-9283-A838DDE27F7D/2016-08-05_19-06-39
The text was updated successfully, but these errors were encountered: