Docker container with CUDA does not see my GPU | WSL2 / Ubuntu / Win10 | nvcc & nvidia-smi work
For some reason, any docker container with CUDA cannot see my GPU. When I run this: docker run --gpus=all --rm nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -gpu -benchmark I have this output: ... Error: only 0 Devices available, 1 requested. Exiting. The CUDA container…