I have a strange artifact using docker. Every time I open my Docker Desktop, the remote desktop manager opens the “Syntax für Remotedesktopverbindungen”. When x it, the window just instantly respawns. Which is terribly annoying. Only when i quit docker desktop the Popup will not reopen again. Anyone ever had this problem, why is docker connected to my RDP in the first place?
That’s an interesting one. I have no really good ideas why that window would appear. You could check the icon that you click on to start Docker Desktop. If something changed the “target” property of it to run Docker Desktop with some special parameters or actualyl run something else that also starts Docker Desktop, that could be a problem.
If you don’t know how to check that, describe how you start Docker Desktop. Where you click.
So I start Docker Desktop via the Windows Start Menu, which is linked to the shortcut here: C:\ProgramData\Microsoft\Windows\Start Menu\Docker Desktop which points to the exe here: C:\Program Files\Docker\Docker\Docker Desktop.exe
The RDM Window also opens, when I click on the Docker Desktop.exe directly.
What is your Windows version? Also what is your WSL version? My guess is that Some parameters that Docker Desktop would use is not compatible with your Windows so it shows the help and closing that window is interpreted as closing a required background service which closes Docker Desktop too…
The only reason you see this error with Docker Desktop on Windows is that it uses a WSL2 distribution for its backend. Every started WSL2 distro starts a hidden mstsc session, which gets unhidden, as soon as a Linux gui application is started inside the WSL distro. There is nothing Docker Desktop can do at its end to fix this issue in WSL2.
You could try if updating it to wsl 2.4.10 and/or updating the mstsc client makes a difference.
If the problem still remains after updating the components, you could raise an issue in the WSL GitHub repo: https://github.com/microsoft/WSL/issues or leave the gui application feature disabled.