NVIDIA / nvidia-container-toolkit

Build and run containers leveraging NVIDIA GPUs
Apache License 2.0
2.51k stars 271 forks source link

How does one install the toolkit on Windows? #153

Open ChrGriffin opened 1 year ago

ChrGriffin commented 1 year ago

1. Issue or feature description

There is no documentation on how one might install the container toolkit on Windows, but the Dockerhub README for the CUDA images says the toolkit is required. Surely it's not simply impossible to develop on Windows?

2. Steps to reproduce the issue

Read the README.

elezar commented 1 year ago

@ChrGriffin the NVIDIA Container Toolkit supports running containers under WSL2. Note that the support should be included in Docker Desktop.

Telokis commented 11 months ago

Does that mean WSL2 is mandatory in order to use Nvidia with containers when using Docker Desktop?

yangkang5303 commented 7 months ago

https://docs.docker.com/desktop/gpu/ check this out, it fixed my issue.