On 03/17/2019 03:06 PM, Brent Earl wrote:> A virtual machine running CentOS with the same environment and packages > installed should do the trick. > > On Sun, Mar 17, 2019, 8:02 AM H <agents at meddatainc.com> wrote: > >> I need to test a new version of Geany but already have the repo version >> installed on all my systems. In order not to foul up my current >> installation, what is the suggested procedure for installing and testing >> this new version? >> >> I tried installing in a docker container which of course went fine but >> could not run it from there. >> >> Suggestions appreciated, thank you. >> >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> https://lists.centos.org/mailman/listinfo/centos >> > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centosI 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?
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 |
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 at centos.org > https://lists.centos.org/mailman/listinfo/centosThank 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?