I’ve followed and installed every step and cannot get my Docker WSL 2 containers working.
docker run --gpus all nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -gpu -benchmark
Produces this error:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: process_linux.go:459: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: initialization error: driver error: failed to process request: unknown.
ERRO[0000] error waiting for container: context canceled
My GPU (display adapter) isn’t even visible
lshw
desktop-1jppast
description: Computer
width: 64 bits
capabilities: smp vsyscall32
*-core
description: Motherboard
physical id: 0
*-memory
> description: System memory
> physical id: 0
> size: 24GiB
*-cpu
product: Intel(R) Core™ i9-10900K CPU @ 3.70GHz
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
width: 64 bits
It looks like my GPU is showing up as System memory. My real system memory is 32GB but the memory on my GPU is 24GB.
dxdiag
System Memory: 32768MB RAM
Display Memory: 24348 MB
The version of Nvida for windows I have installed is:
C:\NVIDIA\DisplayDriver\465.21\Win10-DCH_64\International
And I think I may have found my problem. I am using on the Windows Insiders Dev Channel but my dxdiag is still showing my Build as 19042. So what I did was go to Windows Update where it said it was up to date. I clicked check for update and the following are now downloading:
Windows 10 Insider Preview 21296.10
So I’ll finish installing this and follow up to see if things work.