I am trying to run an application inside a docker container in Windows 10.
But I am not able to get the GPU working inside docker.
I read that it needs \"GPU Pa
Now that docker on Windows 10 can access WSL2 (as of Windows 10 version 2004) it has cleared the way for GPU support of Linux docker containers on Windows 10.
According to this official blog, MS "will start previewing GPU compute support for WSL in Windows 10 Insider builds within the next few months": https://devblogs.microsoft.com/commandline/the-windows-subsystem-for-linux-build-2020-summary/#wsl-gpu
I expect Docker GPU support to follow shortly after.
Update:
GPU pass-through in Windows is now possible under very specific circumstances, including:
Refer to: https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/gpu-acceleration
Update 2:
GPU pass through from Linux docker on Windows host is now possible on the latest Windows Insider build, refer to:
https://ubuntu.com/blog/getting-started-with-cuda-on-ubuntu-on-wsl-2
This will flow through to mainstream Windows probably in the next major update.