The Dockerfile for the build can be seen here:
* https://github.com/tlinnet/docker_relax
* https://hub.docker.com/r/tlinnet/docker_relax/relax
To get image
<source lang=bash>
docker pull tlinnet/docker_relaxrelax
</source>
== Run the image on mac ==
On mac, first make sure XQuartz is running<source lang=bash>open -a XQuartz# In XQuartz -> Preferences > Security, make sure See the tick "Allow connections from network clients" is ON.</source> Then set DISPLAY options. Verifu<source lang=bash># Its either of these. Check which one return IP addr.ipconfig getifaddr en1ipconfig getifaddr en0 # Run appropriatexhost + `ipconfig getifaddr en1`xhost + `ipconfig getifaddr en0`</source> Then make alias and README on Github for newest info how to run<source lang=bash>alias dr='docker run -ti --rm -e DISPLAY=$(ipconfig getifaddr en1):0 -v /tmp/.X11-unix:/tmp/.X11-unix -v $PWD:/home/developer/work --name ubuntu_relax tlinnet/docker_relax'
# Start relaxdr relax # Start relax in GUIdr relax -g # Start OpenDXdr dx # Try OpenMPIdr mpirun --versiondr mpirun -np 2 echo "hello world"dr mpirun --report-bindings -np 2 echo "hello world"<https:/source> To make this easier, consider adding this to HOME/github.bash_profile<source lang=bash># Start docker, if it is not runningalias drdocker='open -a com/Applicationstlinnet/Docker.appdocker_relax/Contentsblob/MacOSmaster/Docker'README.md# Start XQuartz, if it is not runningalias drx='open -a XQuartz; xhost + `ipconfig getifaddr en1`'# Alias the docker run commandalias dr='docker run -ti --rm -e DISPLAY=$(ipconfig getifaddr en1):0 -v /tmp/.X11-unix:/tmp/.X11-unix -v $PWD:/home/developer/work --name ubuntu_relax tlinnet/docker_relax'</source>runmac
== Update relax code ==