I currently set up a development environment on windows with wsl2 and docker.

I mainly followed the steps on docs.microsoft.com/wsl updating my windows version, updating the Linux kernel and setting wsl 2 as the default.

I also used these guides by Fred Gauthier and byJohn Woodruff.

There is also an excellent video tutorial from Stefan Scherer in German: Docker auf Windows installieren