On 03/17/2019 04:28 PM, Gordon Messmer wrote:
On 3/17/19 1:08 PM, H wrote:
I am correct in that docker cannot be used, or? If it can be used, what changes would I need to make to be able to run geany from a docker?
A google search for "run x11 app in docker" returns http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/ as the first result. That blog entry suggests running the app in container with the DISPLAY environment variable, and with the /tmp/.X11-unix directory shared so that the X11 unix sockets are available in the container:
|docker run -ti --rm \ -e DISPLAY=$DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix \ geany |
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Thank you, visited that page and tried the above but get the following messages:
No protocol specified Geany: cannot open display
Perhaps there is something else I have to set up in the container?