我一直在按照步骤在我的本地机器上安装 minishift。在我需要创建虚拟交换机并将 HyperV 设置为默认驱动程序之前,所有命令似乎都可以正常工作。我按照这些步骤创建了一个名为“外部 VM 交换机”的虚拟交换机。当我尝试启动 minishift 时,当它检查“Hyper-V 驱动程序是否已安装”时,我总是会收到FAIL 。我已按照建议文档中的步骤进行操作,但即使在完成它们之后,当我尝试启动 minishift 时仍然会遇到相同的错误。
PS C:\WINDOWS\system32> minishift config set vm-driver hyperv
No Minishift instance exists. New 'vm-driver' setting will be applied on next 'minishift start'
PS C:\WINDOWS\system32> minishift start --hyperv-virtual-switch "External VM Switch"
-- Starting profile 'minishift'
-- Check if deprecated options are used ...
Use of HYPERV_VIRTUAL_SWITCH has been deprecated
Please use: minishift config set hyper-virtual-switch External
FAIL
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.9.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.9.0' is supported ... OK
-- Checking if requested hypervisor 'hyperv' is supported on this platform ... OK
-- Checking if Hyper-V driver is installed ... FAIL
See the 'Setting Up the Virtualization Environment' topic (https://docs.openshift.org/latest/minishift/getting-started/setting-up-virtualization-environment.html) for more information