哪位大佬帮忙写个dockurr/windows教程

发表于:7 天前 问答互助 134

<br /> <br />

想在docker中安装windows,但是一直失败

错误信息

❯ Starting Windows for Docker v4.05...

❯ For support visit https://github.com/dockur/windows

❯ CPU: AMD Ryzen 7 5700U | RAM: 26/30 GB | DISK: 726 GB (btrfs) | KERNEL: 6.6.38-trim...



❯ Warning: you are using the BTRFS filesystem for /storage, this might introduce issues with Windows Setup!

❯ Resizing disk from 64G to 100G...

RTNETLINK answers: Operation not permitted

❯ ERROR: Failed to create bridge. Please add the following setting to your container: --cap-add NET_ADMIN

❯ Warning: falling back to usermode networking! Performance will be bad and port mapping will not work.

❯ ERROR: KVM acceleration not available (device file missing), this will cause a major loss of performance.

❯ ERROR: See the FAQ on how to diagnose the cause, or continue without KVM by setting KVM=N (not recommended).
收藏
送赞
分享

发表回复

评论列表(7)

提示什么?
7 天前 回复
更新了错误信息  详情 回复
6 天前
version: "3"
services:
  windows:
    image: dockurr/windows
    container_name: windows-38006
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    stop_grace_period: 2m
    restart: on-failure
    environment:
      VERSION: "http://winiso/win11x64.iso"
      MANUAL: "N"
    volumes:
      - /vol2/1000/docker/windows:/storage
    depends_on:
      - winiso


  winiso:
    image: nginx:alpine
    container_name: winiso
    restart: on-failure
    volumes:
     - /vol2/1000/docker/windows:/usr/share/nginx/html


自己下载个系统就能用了,名字命名win11x64.iso
7 天前 回复
拿着官方的例子研究了半天没搞定,用你的就可以了。非常感谢  详情 回复
12 小时前
请问一下下载的镜像放哪里  详情 回复
13 小时前
你试试把相册停用,然后再安装window系统,安装完运行起来。再开启相册。
6 天前 回复
更新了错误信息
6 天前 回复
请问一下下载的镜像放哪里
13 小时前 回复
搞定了,放在这就行/vol2/1000/docker/windows  详情 回复
12 小时前
西柚x 发表于 2024-12-4 03:21
请问一下下载的镜像放哪里

搞定了,放在这就行/vol2/1000/docker/windows
12 小时前 回复
拿着官方的例子研究了半天没搞定,用你的就可以了。非常感谢
12 小时前 回复
话题