[CentOS] Testing software on CentOS 7
Gordon Messmer
gordon.messmer at gmail.com
Sun Mar 17 20:28:02 UTC 2019
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 |
More information about the CentOS
mailing list