Hi,
this is an old question but perhaps still is worthy to give an updated answer.
This is now entirely possible in last versions of WSL2 for Windows 10 and Windows 11.
You just have to install Docker Desktop for Windows and enable that Docker is available in your WSL distro(s) (it's set by default to your default WSL distro, but you can include more). And it's all set. From then on you can use docker from Windows, using the icon menu or powershell or cmd,... and also, from the WSL(s) that you've enabled. It doesn't matter. You can decide where to launch your containers from... from Linux in WSL or from Windows... depending on your needs.
Hope it helps.
Did you try it in Windows?
I've tried all the combinations I can imagine... it only works if I take out the blank space. I've created a method JTS.test:write()
that just accepts an string an write it to the console... see the results... it works without space in the firts 2 executions escaping as @Iain MacDonald
suggested with triple quotes """
and also with \"
... but it fails when we introduce a blank space in the string:
I'm pretry sure it'll be something stupid... but I don't know what.
I thinks there should be a specific check for changes that could lead to backward incompatibilities... involving for example fixing "a behavior long time supported by our product but not standard"..."new method signatures"... "class or method name changes"... etc...