gpu passtrough moved to separate file

This commit is contained in:
Dobromir Popov
2025-11-22 14:48:58 +02:00
parent 23b4e1a8ee
commit 185d4f520b
6 changed files with 414 additions and 25 deletions

View File

@@ -1,3 +1,7 @@
# Windows Container - Shared Mode (No GPU Passthrough)
# Host and container can both run simultaneously
# Windows gets VirtIO display, host keeps AMD GPU
# For GPU passthrough, use: docker-compose.gpu-passthrough.yml
services:
windows:
image: dockurr/windows # https://github.com/dockur/windows
@@ -6,15 +10,10 @@ services:
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