2024-06-18, 06:34 PM
OK, I understand we need to set some environment variable to do that.
If I run this command:
/sbin/getcfg NVIDIA_GPU_DRV Install_Path -f /etc/config/qpkg.conf -d None
inside the QNAP SSH environment I get:
/share/ZFS530_DATA/.qpkg/NVIDIA_GPU_DRV
But inside the container I get:
bash: /sbin/getcfg: No such file or directory
Therefore I believe that the container does not have access to the Nvidia drivers because the requiret environment variable was not inserted when the container was created.
Is there a way to add the required environment entry to the container or do I need to create a new container and add the environment variable during the creation?
If I run this command:
/sbin/getcfg NVIDIA_GPU_DRV Install_Path -f /etc/config/qpkg.conf -d None
inside the QNAP SSH environment I get:
/share/ZFS530_DATA/.qpkg/NVIDIA_GPU_DRV
But inside the container I get:
bash: /sbin/getcfg: No such file or directory
Therefore I believe that the container does not have access to the Nvidia drivers because the requiret environment variable was not inserted when the container was created.
Is there a way to add the required environment entry to the container or do I need to create a new container and add the environment variable during the creation?