It is not going to work as-is because it will require a GPU driver to be installed inside the WSL2 distro. I don't know if the required driver is available for Alpine, the distro currently being used by Rancher Desktop.
fast-garage-66093
08/01/2024, 4:26 PM
The problem is likely going to be that the proprietary nVIDIA driver uses glibc while Alpine is using musl. There is an optional glibc package for Alpine, but I don't know if it will work with the Alpine driver. So this might require a lot of research and experimentation.
a
adamant-yacht-18906
08/02/2024, 6:33 AM
Hi @fast-garage-66093, Thank you for your feedback. I was curious since they seem to have done something in DockerDesktop 🙂 . I'm going to be fine without for now at least.
f
fast-garage-66093
08/02/2024, 6:54 AM
I don't know; I suspect that Docker Desktop is running a glibc-based distro and then installs the nVIDIA driver inside; the rest should be provided by WSL2. We are considering switching from Alpine to e.g. openSUSE for the VM in the future, but that is not going to happen in the short term.