Windows版Docker桌面 [英] Docker Desktop for Windows
问题描述
我正在尝试在Windows 10 Pro 64位计算机上以以下构建规范和设置详细信息运行Docker桌面,
I am trying to run Docker desktop on my windows 10 Pro 64 bit machine with below build specifications and setup details,
- 版本-Windows 10 Pro 64位
- 版本-1903
- 操作系统内部版本-18362.657
- CPU-英特尔i7
- Hyper-V状态-已启用,我可以看到所有服务运行正常.
我已经安装了Docker Desktop 2.2.0.3版本(42716).我是以管理员身份运行的,在启动过程中将抛出以下错误.
I have installed Docker Desktop version 2.2.0.3 (42716). I am running this as a administrator and during start it throws me the below error.
- [12:59:40.968] [HyperV] [Info]正在创建VM DockerDesktopVM ...
- [12:59:44.416] [HyperV] [错误]无法创建Hyper-V VM:Microsoft.HyperV.PowerShell.VirtualizationException:Hyper-V在尝试访问计算机"DESKTOP-1SOMU3A"上的对象时遇到错误,因为未找到该对象.该对象可能已被删除,否则您可能没有执行任务的权限.验证计算机上的虚拟机管理服务正在运行.如果服务正在运行,请尝试使用以管理员身份运行"再次尝试执行任务.---> Microsoft.Virtualization.Client.Management.ObjectNotFoundException:Hyper-V在尝试访问计算机"DESKTOP-1SOMU3A"上的对象时遇到错误,因为未找到该对象.该对象可能已被删除,或者您可能没有执行该任务的权限.验证计算机上的虚拟机管理服务正在运行.如果服务正在运行,请尝试使用以管理员身份运行"再次尝试执行任务.在Microsoft.Virtualization.Client.Management.HostComputerSystemView.GetPrimordialResourcePool(VMDeviceSettingType deviceType)在Microsoft.Virtualization.Client.Management.HostComputerSystemView.GetSettingCapabilities(VMDeviceSettingType deviceType,SettingsDefineCapabilities功能)中在Microsoft.HyperV.PowerShell.VMScsiController.CreateTemplateScsiController(VirtualMachine parentVirtualMachine)在Microsoft.HyperV.PowerShell.Commands.NewVM.ConfigureVirtualMachine(VirtualMachine vm,IOperationWatcher operationWatcher)中在Microsoft.HyperV.PowerShell.Commands.NewVM.CreateObjects(IOperationWatcher operationWatcher)
- ---内部异常堆栈跟踪的结尾---
我已经搜索了类似的问题,到目前为止,以下操作均未成功.
I have searched for similar issues and have done the below so far without any success.
- 卸载并重新安装Docker Desktop(重新引导系统)
- 打开和关闭应用程序功能中的Hyper-V(随着系统重新启动)
- 更改了我的系统名称,以避免出现任何特殊字符(尽管查看错误消息,它不反映更改后的系统名称.)
不确定是什么问题.请提供指导.
Not sure what could be the issue.Please provide guidance .
谢谢
推荐答案
尝试卸载Docker工具箱.我在Windows的Docker桌面上也遇到类似的问题.卸载docker工具箱后,我以前已经安装了docker工具箱,Windows的docker桌面正常运行.
Try uninstalling Docker toolbox. I was having similar problems with Docker desktop for windows. I had previously installed docker toolbox after uninstalling docker toolbox, docker desktop for windows ran correctly.
这篇关于Windows版Docker桌面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!