hi lefnire,
- Docker Desktop WSL 2 backend is not supported yet with GPUs. You will have to install Docker as you would traditionally in Linux for WSL 2 and then install NVIDIA Container Toolkit (or nvidia-docker2) for now.
-
nvidia-container-toolkit
andnvidia-docker2
in the end are just wrappers. There is a slight variation depending on which version of Docker you use (19.03 vs. 18.09), but if you chose to installnvidia-docker2
, then that works across both releases of Docker. I’ll look into making that more clear in the documentation. -
nvidia-smi
does not work because we don’t support NVML in WSL 2 yet - this is part of the Known Limitations in the user-guide. We will be adding support for it in the near future.