Your host must have the Windows container feature enabled. The Windows container feature is only available on Windows Server 2022 (Core and with Desktop Experience), Windows 10 Professional and Enterprise (Anniversary Edition) and later.
If you intend to run the container with Hyper-V isolation, The Hyper-V role must be installed on the host first.
Comments
docker的内核用的是宿主机内核,

并且docker只能在Linux/Unix下运行太抽象了,我在网上找到了个通过在容器里使用hypervisor来在Linux上的容器里安装Windows虚拟机的教程 https://medium.com/axon-technologies/installing-a-windows-virtual-machine-in-a-linux-docker-container-c78e4c3f9ba1
当然这也没有违背 docker 的内核用的是宿主机内核的原则,毕竟 hypervisor 是跑在 Linux 上的
source
应该直接dd win,这个容器只能在新版windows运行,不能用linux,应该还需要虚拟化
拿走,不谢,支持kvm的vps可以直接运行win虚拟机,附带了win7ent镜像,如果没有kvm支持的vps运行会很慢,建议直接dd
地址删了,本来是自用的,放出来就被搞,真是闲的蛋疼
重了编辑掉
@emengweb #4
大佬,镜像都给了,( ఠൠఠ )ノ
@emengweb #4
哥们这是你的网站?Error 1033进不去
@superen #8
资源都挂载在的gd空间上,估计是被搞挂了,重启了下容器。发现有个ipv6段的一直在重复拉取一个2019的镜像文件,下载没多久就故意断掉,故意把gclone给搞崩,哎
在Linux系統跑Win容器不可行,真要跑不如整個PVE