How do you give a container on a NAS access to the GPU?
I want an application running in a container on my storage server to use the graphics card for hardware transcoding and some machine learning work.
The card is installed and the host sees it. Inside the container the application reports no device available. I have found guides for a previous major version of the platform that no longer match the interface at all.
What has to be true for this to work, and where does it usually go wrong?
@gpu_gorkem · 7d ago
A diagnostic that saves a lot of guessing, because it separates the layers cleanly:
Run the vendor's own query tool inside the container. If it lists the card, steps 1 to 3 are fine and your problem is the application's configuration. If it reports nothing, the problem is below the application and you can stop reading its documentation.
For transcoding specifically, the equivalent is asking the media tool to list its available hardware accelerators from inside the container. Same logic: it either sees the device or it does not, and that single answer tells you which half to work on.
Doing this before changing settings turns a vague problem into a bounded one.
Reply
Report