There are problems with it (it is virtualized), like if tou want to run docker inside WSL and access it from Windows host. Also native Linux is much faster than WSL (when it comes to compilation time). But for some simple usecases WSL is excellent choice.
There are problems with it (it is virtualized), like if tou want to run docker inside WSL and access it from Windows host. Also native Linux is much faster than WSL (when it comes to compilation time). But for some simple usecases WSL is excellent choice.
Solution to that is install Docker on Windows, upgrade to WSL2, and integrate it on Docker's end.
Edit: I'd like to add that upgrading is by distro, as is the integration.