Hi,
I think, that’s not what docker is designed for. … Containers should be micro-services, that you can start / stop and throw away, at will. …
There are several experiments out there, that make GUI apps work in containers. But most of them use the same OS. … So eg: linux host-OS with linux container that runs Chrome or FireFox or a Terminal. …
The communication between the host-OS X-window system and the container uses system sockets. Since everything is native, it’s high performance.
Using Docker for Windows the communication would look like this:
windows host -> hyper-v VM -> mobiLinux -> your app-container + X-window-container/services -> windows-host-> x-window-client-app that connects with eg: RDP and shows the GUI …
I would say that’s “doing it by the most complicated means possible”.
I personally would use the existing Hyper-V VM + tools and use a stripped down Linux-System with, just enough stuff, to run the app and the UI.
But anyway:
There’s an other thread: Does it possible to run GUI base desktop application on Dockers
which mentions this project: https://github.com/deskor/xrdp
have fun!