nomad
nomad copied to clipboard
Device support for Windows Container
Proposal
Handle Windows Container case for the devices stanza:
config {
devices = [
"class/5B45201D-F2F2-4F3B-85BB-30FF1F953599"
]
}
Use-cases
We are experimenting GPU support in Windows Container but the devices stanza currently only support Linux style, file-based device. Under Windows Container Mode, the Docker devices are passed using GUID and not path locations. There won't be any support for cgroups control either.
Attempted Solutions
We can attempt to pass this specific device to every container by manipulating daemon.json, but doing so is a huge security red flag (once you install a driver you get access to the GPU without limits)