On windows I just use WSL2 with docker installed through the Linux distribution (Ubuntu in my case). This way I get docker on my windows Laptop without the annoying docker desktop
I remember trying a while back, when WSL2 was first released, and I couldn't get it to work; IIRC I couldn't get stuff running in Windows to communicate with stuff running in containers in WSL2, and also vice-versa.