Still concerned about your Nvidia drivers. If you’re using 5.1.0 NVIDIA_GPU_DRV then please revert back to 5.0.4 . 5.1 breaks a lot of things. QNAP has been notified.
Your use of /usr/local/cuda/extras/CUPTI/lib64 is not typical. Not sure what it brings to the table.
Everything you need is in /opt/NVIDIA_GPU_DRV (outside the container)
(Refer to /etc/init.d/plex.sh to see how I grab the path GPU driver libs)