win amd GPU passtrough

This commit is contained in:
Dobromir Popov
2025-11-20 10:58:56 +02:00
parent 8c46e95800
commit 23b4e1a8ee
7 changed files with 512 additions and 2 deletions

View File

@@ -1,20 +1,25 @@
services:
windows:
image: dockurr/windows # https://github.com/dockur/windows
container_name: windows
container_name: windows2
environment:
VERSION: "11"
RAM_SIZE: "8G"
CPU_CORES: "4"
GPU: "Y"
ARGUMENTS: "-device vfio-pci,host=c5:00.0,addr=0x05,multifunction=on -device vfio-pci,host=c5:00.1,addr=0x05.1"
devices:
- /dev/kvm
- /dev/net/tun
- /dev/nvme0n1p8:/disk2
- /dev/vfio/vfio
- /dev/vfio/20
- /dev/vfio/21
cap_add:
- NET_ADMIN
privileged: true
ports:
#- 445:445
- 445:445
- 1433:1433
- 8006:8006
- 3389:3389/tcp