问题
I have installed Docker for Windows (running Windows 10). Out of the box, Docker would not install an image on Hyper-V but I was able to get it work.
Edit: I acquired Kitematic via the link from this screen:
Upon clicking download, I get a zip file via http.
Next, I copied Kitematic zip contents to c:\program files\docker\kitematic. When I run Kitematic from Docker menu, it gives me an error stating:
VirtualBox is not installed. Please install it via the Docker Toolbox.
I don't want to use VirtualBox, if at all possible because I have other software that uses Hyper-V.
Is it possible to get Kitematic to use Hyper-V?
Thanks,
回答1:
You only need to delete Kitematic folder in %APPDATA%
(C:\Users\{User}\AppData\Roaming) and run Kitematic again.
回答2:
Next scenario worked for me:
- disable hyper-v feature in windows
- reinstall docker toolbox with Kitematic
- reboot PC
- run Kitematic
- got to Settings -> uncheck "use virtualbox instead of native on next restart"
- enable hyper-v back
- restart PC
- start Docker for windows
- run Kitematic
Some of these steps may be redundant but it helped in my case. I believe there must be some file or setting to tell Kitematic to use hyper-V instead of virtualbox provider but I wasn't managed to find another way of changing it.
来源:https://stackoverflow.com/questions/45985175/how-to-use-kitematic-with-hyper-v-enabled