Quick Fix: Running Docker on Windows

Docker for WIndows is still in Beta, and the installation completed successfully, but when I went to run it for the first time it was unable to start. I allowed the installer to enable Hyper-V, but after rebooting Docker still refused to start. After a couple tries, I was able to make out the error notification that popped up before it went away.

MobyLinuxVM Failed to Start

The issue is that Hyper-V is not starting up with Windows by default, so Docker is unable to connect to the hypervisor to start it’s VM. Running the following command with PowerShell in administrator mode will set the hypervisor to run on startup and allow Docker to successfully run on Windows.

bcdedit /set hypervisorlaunchtype Auto


Written on June 24th, 2016 by Dan Walker
Tags: docker.

Want to read more?

If you’ve enjoyed what you’ve seen so far, you might like some of my other posts. Visit the archive to see all of my past writings.

Blog Archive »
 

About the Author

Dan Walker is a programmer from Grand Rapids, MI. He works at Gordon Food Service.

More About Dan »

Get in touch