Passing through only GPU to Container

Jul 26, 2019
1
0
6
125
I do not have an integrated GPU, and due to size constraints I'd prefer to only have 1 nVidia GPU in my Proxmox 6.0 server. Is it possible to pass through that 1 GPU to a container?
 
GPU passthrough to a *VM* is possible, even with a single one (although a bit tricky, check other forum posts for how to do this).

GPU passthrough to a *container* is not possible, since a container shares the same kernel. You could potentially run an X server in a container, thus using the host's GPU, but that could be a bit tricky too.