Edit: more info here: https://devblogs.microsoft.com/commandline/announcing-wsl-2/
Edit: more info here: https://devblogs.microsoft.com/commandline/announcing-wsl-2/
"dramatic file system performance increases, and full system call compatibility, meaning you can run more Linux apps in WSL 2 such as Docker."
That will be welcome. I use WSL, but it's currently very slow for anything that touches lots of files, like a git clone, rsync, etc.
https://nickjanetakis.com/blog/setting-up-docker-for-windows...
https://nickjanetakis.com/blog/setting-up-docker-for-windows...
I'm pretty sure, otherwise, that is a gaping hole in many security setups right now - if any website could poke local sockets using client JS.
Still, it's generally a pretty bad idea to have an unauthenticated service running on localhost which can perform arbitrary operations on the system - you're depending on all other software running on the system not to transform that into a vulnerability.
For me, personally, it seems like another failure. I don't see any reason not to use Linux in VirtualBox. It's simpler and it works. Their original approach was something new and interesting. Microsoft started to make very questionable decisions lately.