NVIDIA / nvidia-container-toolkit

Build and run containers leveraging NVIDIA GPUs
Apache License 2.0
2.18k stars 239 forks source link

Ubuntu Docker-Desktop support #83

Open Ghassan opened 1 year ago

Ghassan commented 1 year ago

I installed nvidia-container-toolkit on Ubuntu 22 with the latest Docker-Desktop for Ubuntu, but it did not work. Does nvidia-container-toolkit support Docker-Desktop on Ubuntu? I had to resort back to Docker Engine.

elezar commented 1 year ago

Docker Desktop uses a VM to run containers, and this does not have the NVIDIA Container Toolkit installed. (One exception is on WSL2 where Docker Desktop for Windows does include the NVIDIA Container Toolkit for use in WSL2).

The recommendation is to use Docker Engine.