Docker 和 hyper-v 问题
Docker and hyper-v Issues
我想用 windows 容器配置 docker。所以我安装了 docker 并启用了 Hyper-v 的所有功能。
我也执行过这条命令:
Enable-WindowsOptionalFeature -Online -FeatureName Containers -All
当我尝试 运行 docker for windows application
时出现错误
当我从 CMD 执行 docker 版本时出现错误。
我已经在 google 上尝试了一些解决方案,但问题仍然存在。
有人知道怎么解决吗?
编辑:
执行命令时:
New-VMSwitch -Name "minikube" -AllowManagement $True -NetAdapterName
"minikube"
错误来了:
New-VMSwitch : Hyper-V encountered an error trying to access an object
on computer 'computer-name' because the object was not found. The object
might have been deleted. Verify that the Virtual Machine Management
service on the computer is running.
安装后尝试安装 hyperv docker 它可能有效
我想用 windows 容器配置 docker。所以我安装了 docker 并启用了 Hyper-v 的所有功能。
我也执行过这条命令:
Enable-WindowsOptionalFeature -Online -FeatureName Containers -All
我已经在 google 上尝试了一些解决方案,但问题仍然存在。
有人知道怎么解决吗?
编辑: 执行命令时:
New-VMSwitch -Name "minikube" -AllowManagement $True -NetAdapterName "minikube"
错误来了:
New-VMSwitch : Hyper-V encountered an error trying to access an object on computer 'computer-name' because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running.
安装后尝试安装 hyperv docker 它可能有效