Discussion (6)2
Log in or sign up to continue

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.