您好,根据官方文档,windows server不要求hyper-v的。
Windows Server
要在 Windows Server 上运行容器,需要运行 Windows Server 2022、Windows Server(半年频道)、Windows Server 2019 或 Windows Server 2016 的物理服务器或虚拟机。
要进行测试,可以下载 Windows Server 2022 评估版或 Windows Server Insider Preview 的副本。
Windows 10 和 11
若要在 Windows 10 或 11 上运行容器,需要以下各项:
一个运行 Windows 10 或 11 专业版或企业版(含周年更新(版本 1607)或更高版本)的物理计算机系统。
Hyper-V 应已启用。
从 Windows 10 的 2018 年 10 月更新版开始,Microsoft 不再允许用户在 Windows 10 企业版或专业版上以进程隔离模式运行 Windows 容器进行开发/测试。 有关详细信息,请参阅常见问题解答。
Windows Server 容器在 Windows 10 和 11 上默认使用 Hyper-V 隔离,为开发人员提供在生产中使用的相同内核版本和配置。 若要详细了解 Hyper-V 隔离,请查看隔离模式。
您可以参考官方文档进行安装:官方文档
image.png
... 展开详请