How to use GPUs with docker drivers/not host drivers?

  cuda, docker, gpu, nvidia, nvidia-docker

I am trying to use the docker image with new drivers >460 for CUDA 11 but my host machine has cuda-10.

According to the image below (https://github.com/NVIDIA/nvidia-docker) docker uses the drivers present in the host hence I am getting error as kernel mismatch required 450+ kernel version 418.

I have installed the drivers on my container. I there any way to use the bare metal gpus from the container itself and bypass the host drivers??

enter image description here

Source: Docker Questions

LEAVE A COMMENT