Hello. I have various containers using my only NVIDIA GPU without problem.
Now I want to create a new container, but I’m unable to access the gpu.
I did
lxc launch images:ubuntu/lunar u-test -c nvidia.runtime=true
lxc config device add u-test gpu gpu -or- lxc config device add u-test gpu gpu gputype=physical
lxc restart u-test
then lxc exec u-test bash
but when I try nvidia-smi
command I’m getting “no device found”.
I’m using version 5.13.
In the other containers nvidia-smi shows my gpu.
What am I missing?