在Windows上安装后无法启动Docker [英] Cannot start docker after installation on Windows
问题描述
运行预先创建检查...
错误wirh预创建检查:Hyper-V已安装。当Hyper-V激活时,VirtualBox将不会启动64位虚拟机,它已安装但已停用,您可以使用 - -virtualbox-no-vtx-check来尝试反正
看起来像在检查机器默认是否存在中出现问题...
按任意键继续...
我做错了什么?系统和安装步骤的所有检查均取自此处。
非常感谢您的帮助!
支持hyper-v作为驱动程序( https://docs.docker.com/machine / drivers / hyper-v / )
您需要执行以下步骤:
-
创建虚拟交换机,请参阅本文介绍如何执行此操作: https://blogs.technet.microsoft.com/canitpro/2014/03/ 10 / step-by-step-enable-hyper-v-for-use-on-windows-8-1 /
-
创建一个使用该网络交换机和hyperv驱动程序的docker机器。
docker-machine create -d hyperv -hyperv-virtual-switch上面创建的虚拟交换机的名称default
I am a new to Docker. After the installation of Docker Toolbox (OS: Windows 10) I run Docker Quickstart Terminal and in the console I see this:
Running pre-create checks...
Error wirh pre-create check: "Hyper-V is installed. VirtualBox won't boot a 64bits VM when Hyper-V is activated. It it's installed but deactivated, you can use --virtualbox-no-vtx-check to try anyways"
Look like something went wrong in step 'Checking if machine default exists'...
Press any key to continue...
What did I do wrong? All checking of system and install steps are taken from here.
Thank you very much for your help!
Docker machine supports hyper-v as the driver (https://docs.docker.com/machine/drivers/hyper-v/)
You need to perform the following steps:
Create a virtual switch , Refer to this article on how to do that: https://blogs.technet.microsoft.com/canitpro/2014/03/10/step-by-step-enabling-hyper-v-for-use-on-windows-8-1/
Create a docker machine using that network switch and hyperv driver.
docker-machine create -d hyperv --hyperv-virtual-switch "name of the virtual switch created above" default
这篇关于在Windows上安装后无法启动Docker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!