INFO     utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxc/hooks/nvidia" for container "108", config section "lxc"
DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/nvidia 108 lxc mount produced output: mkdir: cannot create directory ‘/var/lib/lxc/108/hook’
DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/nvidia 108 lxc mount produced output: : Permission denied
DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/nvidia 108 lxc mount produced output: + exec nvidia-container-cli --user configure --no-cgroups --ldconfig=@/usr/sbin/ldconfig --device=all --compute --graphics --utility --video /usr/lib/x86_64-linux-gnu/lxc/rootfs
DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/nvidia 108 lxc mount produced output: nvidia-container-cli: mount error: open failed: /usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/1/ns/mnt: permission denied
The path creation failure isn’t something to worry about, but the namespace permission denied stuff is a bit more of a problem.
Actually, there was a bug in LXC 6.0.4 that would line up with this behavior which has been fixed in 6.0.5. So maybe check if you can update LXC to 6.0.5 on your system.