-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
What is the problem you're trying to solve
Mount device to windows container
Describe the solution you'd like
Windows container current support device mount for process isolation. Refer: https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/hardware-devices-in-containers.
So hope we can add windows device mount feature. OCI already support windows container device mount: https://github.com/opencontainers/runtime-spec/blob/master/config-windows.md
And Moby already has some workable code:
https://github.com/moby/moby/blob/07bb45e23a364f0d27a82d9ac13ab79846bd7add/daemon/oci_windows.go#L262-L283.
Additional context
Add this feature can enable run GPU workload via contrainerd in non-HyperV supported env.