gpu passtrough moved to separate file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user