How can I add docker engine on WSL2 to the services?
Answered
I'm working on Windows 11.
I want to add WSL2 docker engine to the following services list.
is it available?
Please sign in to leave a comment.
Please select add Docker Connection service type in the toolbar to add a connection to a WSL Docker. Make sure the docker is up and running on the WSL host and you are able to connect to it from Windows machine via tcp connection.
Andrey Dernov
Excuse me. What value should I input?
Docker is running
If you have Docker running on Windows, select feel free to select Docker for Windows. See also the related video tutorial or documentation tutorial and description of the settings page.
I think he wants to know how to config when docker engine is running on ubuntu wsl2.
In IDEA 2022.3.x version, you could configure the connections to Docker that run in WSL.
See here for details: https://www.jetbrains.com/idea/whatsnew/#page__content-docker
Lejia Chen This link does not help at all with configuring wsl docker connection
Zonko, could you please specify how exactly your setup looks? Are IDE and Docker both installed inside WSL, or one of them is "outside" on Windows?