I want to connect to my windows machine using ssh and launch Docker Desktop as it would me physically launching this app (with dashboard in tray, autolaunch of wsl.exe, etc...)
So, there is no problem with me connecting to my windows machine. It does work and I connect to powershell session.
But if I do, for example, ssh user@host start "C:\Program Files\Docker\Docker\Docker Desktop.exe"
- it will start and close immediately.
If I do ssh user@host 'Invoke-WmiMethod -Path "Win32_Process" -Name Create -ArgumentList "C:\Program FIles\Docker\Docker\Docker Desktop.exe"'
- it will stay in background, but won't work at all. There will be only "Docker Desktop.exe" hanging without any attempt to launch wsl2 and my containers.
Is there any way to remote start of docker on windows machine?