check your dev dir’s
#check nvidia-smi works check /dev/nvidia* for nvidia0 nvidia-modeset nvidia-uvm nvidia-uvm toolkit
if your missing any thing run two commands
nvidia-smi and nvidia-modprobe -c0 -u
if your having isues you will need to check folder permissions of those folders
the fallowing link shows you how to get HW transcoding working on a lxc but a lot of the same info is the same on the host system