Docker Community Forums

Share and learn in the Docker community.

Cuda-sample form the "Develop with Docker and WSL 2" page does not work

HI,

I am new to to Docker on Window.
Followed the instructions in https://docs.docker.com/docker-for-windows/wsl/#develop-with-docker-and-wsl-2
Installed all the requirements, but when testing as noted in the page, i get:

C:\WINDOWS\system32>docker run --rm -it --gpus=all nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -gpu -benchmark
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.

Any ideas?

Tnx