BSOD on Windows 10 with Hyper-V Enabled
Problem description
Trying to folow the instructions found at "Set Up Your Swarm" causes Windows 10 to fatally crash with a BSOD (Blue Screen of Death). This is a long-time, known Virtualbox bug, which Oracle (and I) assign blame to Microsoft.
My issue is that the documentation should be updated to reflect this critical error. (It's very unfortunate, because no one on windows 10 can complete the getting started guide.)
I have separately filed a Docker Issue for the technical problem.
Problem location
- I saw a problem on the following URL: https://docs.docker.com/get-started/part4/#set-up-your-swarm
Project version(s) affected
docker-machine.exe version 0.10.0, build 76ed2a6
Suggestions for a fix
Suggest some warning that attempting to run VirtualBox with Hyper-V enabled will cause a BSOD. Ironically, Docker requires Hyper-V enabled for itself to run.
@NonCreature0714 What command are you running that triggers the BSOD? If it's using driver of virtualbox instead of hyperv, that is not supported, which is why there are tabs and callouts on the "Set up your swarm" section.
@johndmulhausen I'm working to clarify. Frustratingly, following the recommended instructions caused BSOD three times yesterday - but today everything is running perfectly, so I'm struggling to reproduce. I did run into something else: using docker-machine with Powershell requires Powershell run as Administrator.
I'm nervous to say much more if I can't reproduce the bug; I'll close this if I can't reproduce within 24 hours.
@NonCreature0714 Keep me posted. At a high level: Does following the Hyper-V instructions work?
@johndmulhausen the Hyper-V instructions work.
This was particularly frustrating, because I wasn't able to complete a Docker demo to my internal clients because of crashes. I'm strongly advocating for Docker to internal operations/dev/IT clients, while at the same time as learning SaltStack (which uses Vagrant for tutorials). So I'm realizing now this isn't as clear cut as I thought it was.
The best I can tell right now is that there was some conflict with running Vagrant and docker-machine in proximity on the same host. Vagrant absolutely causes BSOD because of a bug in VirtualBox. And it's possible that when I ran docker-machine afterwards there was still some unresolved issue on the host. I'm currently working to reproduce. Either way, this looks very much like an edge case.
@johndmulhausen I'm closing this ticket as un-reproducible. It appears it has something more to do with Vagrant.
Sorry to revive this, but I have the same issue. Docker with Hyper-v disabled used to work fine before I updated to the latest version. Now it requires Hyper-v but causes a BSOD. Version: 17.09.0-ce-win33 (13620) running on windows 10 Any ideas? [UPDATE: For those who might land here for the same issue] As expected this was initially my mistake. I had created a docker machine that specifically starts with virtualbox as a driver while docker seems to be expecting hyper-v. Anyway, the fix for me was to rm the old machines and create them again with hyper-v which worked with no issues. No BSOD anymore.
It would be nice however if docker could decline gracefully in such case with a clear warning of what it is expecting.
Thanks
I also have this issue! Description: https://www.virtualbox.org/ticket/16801
@librisius & I are having the same problem: https://www.virtualbox.org/ticket/16801
Sorry to reopen but i'm having the sam issue. I'm using windows insider preview and docker desktop. Whenver i use docker desktop and then close docker desktop and then reboot as soon my pc reboots it goes into a BSOD HYPERVISOR_ERROR. I'm 100% sure it is docker causing the issue. please help
same thing after increasing ram to 5 gb and giving 4 processor threads in the docker settings
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.
/lifecycle locked