Docker Community Forums

Share and learn in the Docker community.

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


I am new to to Docker on Window.
Followed the instructions in
Installed all the requirements, but when testing as noted in the page, i get:

C:\WINDOWS\system32>docker run --rm -it --gpus=all 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?