你好啊,陌生人!

我的朋友,看起来你是新来的,如果想参与到讨论中,点击下面的按钮!


📈用户数目📈

目前论坛共有2973位seeker

🎉欢迎新用户🎉

NodeSeek
New on NodeSeek? Please read our Community Rules.

有人玩过docker里跑win吗

superensuperen 楼主 #0
edited 15days ago in 日常

找了个帖子
有人玩过吗?虽然跑gui浪费资源 但是也有一些机子性能够跑Linux桌面
应该也有这种需求 毕竟Linux可以dd成window 应该硬件也支持

Comments

  • edited 15days ago

    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 上的
    ac01

  • edited 16days ago
    • 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.

    source

  • 应该直接dd win,这个容器只能在新版windows运行,不能用linux,应该还需要虚拟化

  • edited 15days ago

    拿走,不谢,支持kvm的vps可以直接运行win虚拟机,附带了win7ent镜像,如果没有kvm支持的vps运行会很慢,建议直接dd
    地址删了,本来是自用的,放出来就被搞,真是闲的蛋疼

  • edited 15days ago

    重了编辑掉

  • 靓女靓女 交易中介 #6

    xhj002

  • @emengweb #4
    大佬,镜像都给了,( ఠൠఠ )ノ

  • superensuperen 楼主 #8

    @emengweb #4

    哥们这是你的网站?Error 1033进不去

  • edited 15days ago

    @superen #8
    资源都挂载在的gd空间上,估计是被搞挂了,重启了下容器。发现有个ipv6段的一直在重复拉取一个2019的镜像文件,下载没多久就故意断掉,故意把gclone给搞崩,哎

  • 在Linux系統跑Win容器不可行,真要跑不如整個PVE

登录 或者 注册 后评论.