Gpu support in containers

Nick De Bruyckere 1 Reputation point
2021-03-15T10:48:44.943+00:00

Hello

I have a container it's made from a .net core c# application together with imagemagick. OpenCL and clinfo are installed and I connected a gpu to it but when I run clinfo the number of platforms is 0. Why is this happening and how can I fix it do I need other things installed. i found https://github.com/NVIDIA/libnvidia-container. But the first packages you need to install are not being found on the container and when I try the drivers trough apt-get they're also not found. It might be since I don't have a base nvidia image. I'm trying this now. Maybe a list or steps of what I need (to do) to allow gpu support to my container, like what base image I should use to install asp.net on with my app, imagemagick and opencl.

Thank you for your time

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,848 questions
{count} votes