Containers feature is disabled. Enable it using the PowerShell script (in an administrative PowerShe

2024-03-05 15:53:39 浏览数 (3)

1、问题如题如下图

2、解决办法

以管理员身份运行Window Terminal(Windows PowerShell),输入图上下方所示命令

Enable-WindowsOptionalFeature -Online -FeatureName $("Microsoft-Hyper-V", "Containers") -All

执行完命令重启电脑即可。

以上就是Containers feature is disabled. Enable it using the PowerShell script (in an administrative PowerShell) and restart your computer before using Docker Desktop:  Enable-WindowsOptionalFeature -Online -FeatureName $("Microsoft-Hyper-V", "Containers") -All的介绍,做此记录,如有帮助,欢迎点赞关注收藏! 

0 人点赞