I have a console (C) program.
Usually I let it run in a console-window, it runs continously, and polls the keyboard, to change parameters. This is running on a raspberry Pi
The program have the option to open a X-window showing the contents of a camera with some zones drawn on top of the image; those zones are for motion detect and can be moved by the keystrokes I mentioned above.
How to dockerize this? One option is to include a vnc environment into the container, but won't that be a huge image then?
Other options?
Can a program running inside a container create a window on the X-server outside? (in x-terminology the screen is the server and the program using it is the client)
To send keystrokes to the running program I will do "docker attach "