gpt4 book ai didi

windows - 无法在 Windows 10 上使用 Hyper-V 启动 minikube

转载 作者:行者123 更新时间:2023-12-02 11:34:30 26 4
gpt4 key购买 nike

当我运行这个命令时:

minikube start --vm-driver=hyperv

minikube 无法启动并显示以下错误:

minikube v1.7.2 on Microsoft Windows 10 Enterprise

Using the hyperv driver based on user configuration

! 'hyperv' driver reported an issue: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online failed:

Suggestion: Start PowerShell as Administrator, and run: 'Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All'

X hyperv does not appear to be installed

所以我按照显示的消息启动了命令:

Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online

它显示了以下结果:

FeatureName : Microsoft-Hyper-V-All DisplayName : Hyper-V Description : Provides management services and tools for creating and running virtual machines and their resources virtuels et de leurs ressources. RestartRequired : Possible State : Enabled CustomProperties :

此外,我已验证 Hyper-v 已正确安装。我安装了 minikube 1.7.2。知道如何解决这个问题吗?

感谢您的帮助。

最佳答案

最后,我能够使用 --force 标志启动 minikube,此处描述的 minikube 1.7.2 存在问题 #6579

关于windows - 无法在 Windows 10 上使用 Hyper-V 启动 minikube,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60192418/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com