gpt4 book ai didi

docker - 来自守护程序的错误响应:hcsshim::CreateComputeSystem:无法启动虚拟机,因为未安装必需的功能

转载 作者:行者123 更新时间:2023-12-02 17:51:30 27 4
gpt4 key购买 nike

我已将Docker Desktop下载到Windows 10 Pro计算机(1809)上。我正在尝试执行docker run hello-world命令,但收到此错误:

docker: Error response from daemon: hcsshim::CreateComputeSystem 0e3c581b7316f66fd396f6007f3260ded7d934c5e6d53c9fedba279b9c0044c2:
The virtual machine could not be started because a required feature is not installed.
(extra info: {"SystemType":"Container","Name":"0e3c581b7316f66fd396f6007f3260ded7d934c5e6d53c9fedba279b9c0044c2","Owner":"docker","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\\ProgramData\\Docker\\windowsfilter\\0e3c581b7316f66fd396f6007f3260ded7d934c5e6d53c9fedba279b9c0044c2","Layers":[{"ID":"08298683-92e6-5d81-8efa-07df462bc835","Path":"C:\\ProgramData\\Docker\\windowsfilter\\da67c59750c9d72f917f4169d58fff3285b27d01c30c159f437b8ec8bace3fd3"},{"ID":"8ffbf2ed-0796-5433-969d-24c7c60eed76","Path":"C:\\ProgramData\\Docker\\windowsfilter\\20785c70b0b36964948ecf0180bbe644306ed1f70686864f3cf476229f3ae054"},{"ID":"d0522a69-fb9e-53ff-8eec-0492669a13de","Path":"C:\\ProgramData\\Docker\\windowsfilter\\2c662c56ef3ffafe3f5cb6180ac24154c081866bb0a6c0e3c27fa5a3bcc957a7"}],"HostName":"0e3c581b7316","HvPartition":true,"EndpointList":["63F24577-D177-4DE9-8071-9325D00D5499"],"HvRuntime":{"ImagePath":"C:\\ProgramData\\Docker\\windowsfilter\\2c662c56ef3ffafe3f5cb6180ac24154c081866bb0a6c0e3c27fa5a3bcc957a7\\UtilityVM"},"AllowUnqualifiedDNSQuery":true}).

最佳答案

我遇到过同样的问题。
以“管理员”身份运行Windows Powershell,然后运行以下命令以启用容器和Hyper -V。执行第二条命令后重新启动计算机-

Enable-WindowsOptionalFeature -Online -FeatureName containers –All
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All

关于docker - 来自守护程序的错误响应:hcsshim::CreateComputeSystem:无法启动虚拟机,因为未安装必需的功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57431890/

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