skip to Main Content

Cannot run nvidia-smi inside the docker without sudo

I installed the nvidia-docker2 following the instructions here. When running the following command I will get the expected output as shown. sudo docker run --rm --gpus all nvidia/cuda:11.0.3-base-ubuntu20.04 nvidia-smi +-----------------------------------------------------------------------------+ | NVIDIA-SMI 495.29.05 Driver Version: 495.29.05 CUDA Version: 11.5 |…

VIEW QUESTION
Back To Top
Search