December 30, 20241 yr Ive setup a windows docker so that i can share my gpu across a few different instances. Its working great as is however I'm having some issues though with passing through some motherboard devices (onboard wifi/bluetooth, audio etc) through for the exclusive use of the container. Ive passed through usb and graphics card before on vms and docker containers before but having through trouble with these other onboard devices types Does anyone have experience with passing through these devices for containers and how they are mapped through? Ive tried binding them to vfio and the use those references in the docker config but they dont work either via adding devices in the config. Anyone have any experience with how to pass these devices through to the container PCI Devices and IOMMU Groups.txt
January 3, 20251 yr Community Expert Usually this is done with a docker compose file in docker run its the --device options.. like VM, its best if the device is VFIO bind. Identify and verify the Devices: lspci -nn ls /dev Docker template extra parameter... --device=/dev/<device_name> You can also use unraid docker template... Was not a fan of running a kvm/qemu of windows in a docker... more issues of device is in the docker but the kvm/qemu inside the docker needs configs to use the device. -Made for weird resource overhead and hard workarounds... more a internal docker config setting then unraid passing setting...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.