We think you might be interested in this job:
It’s been a year since https://www.docker.com/blog/wsl-2-gpu-support-is-here/ on Docker Desktop. At that time, it was necessary to take part in the Windows Insider program, use Beta CUDA drivers, and use a Docker Desktop tech preview build.
Last, the GPU support has been merged in Docker Desktop (in fact since version 3.1).
-t cudafractal $ docker run --gpus=all -ti --rm -v ${PWD}:/tmp/ cudafractal./fractal -n 15 -c test.coeff -m -15 -M 15 -l -15 -L 15
The tensorflow:latest-gpu image can take advantage of the GPU in Docker Desktop.