Re: Testing software on CentOS 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux