在Windows上安装后无法启动Docker [英] Cannot start docker after installation on Windows

查看:1085
本文介绍了在Windows上安装后无法启动Docker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Docker的新人。在Docker Toolbox(操作系统:Windows 10)安装之后,我运行Docker Quickstart Terminal,并在控制台中看到:

 运行预先创建检查... 
错误wirh预创建检查:Hyper-V已安装。当Hyper-V激活时,VirtualBox将不会启动64位虚拟机,它已安装但已停用,您可以使用 - -virtualbox-no-vtx-check来尝试反正
看起来像在检查机器默认是否存在中出现问题...
按任意键继续...

我做错了什么?系统和安装步骤的所有检查均取自此处



非常感谢您的帮助!

解决方案

支持hyper-v作为驱动程序( https://docs.docker.com/machine / drivers / hyper-v /



您需要执行以下步骤:






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:

docker-machine create -d hyperv --hyperv-virtual-switch "name of the virtual switch created above" default

这篇关于在Windows上安装后无法启动Docker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆