Public Repository

Last pushed: 6 months ago
Short Description
Run ESS OpenXAL quickly
Full Description

It has a somewhat complicated command to run correctly. Only tested on Linux and Mac thus far.

Instructions for Linux:

To run (in this example we run launcher):

docker run -e DISPLAY -e LOCAL_USER_ID=`id -u` -e LOCAL_GROUP_ID=`id -g` -v /tmp/.X11-unix:/tmp/.X11-unix -v $HOME/.Xauthority:/home/developer/.Xauthority --net=host europeanspallationsource/openxal launcher

Instructions for Mac:

Essentially follow https://fredrikaverpil.github.io/2016/07/31/docker-for-mac-and-gui-applications/
(note that after all has been installed, we needed a computer restart in our testing)
The commands are, in essence (assuming the Docker app and XQuartz is running, and your network interface is en0)

ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
xhost + $ip
docker run -e DISPLAY=$ip:0 -v /tmp/.X11-unix:/tmp/.X11-unix europeanspallationsource/openxal launcher

Run different applications

The last argument, launcher, can be replaced by names of other applications. Examples are opticseditor, pvhistogram, pvlogger, scan1d, scan2d, ...

Source:
https://gitlab01.esss.lu.se/yngvelevinsen/dockers/tree/master/openxal

Docker Pull Command
Owner
europeanspallationsource