https://github.com/nmr-relax/relax/tree/master/devel_scripts/Docker/Ubuntu_16_04_OpenDX
You can get dx working on a mac as easy as:
open -a XQuartz
xhost + `ipconfig getifaddr en1`
docker run -ti --rm -e DISPLAY=$(ipconfig getifaddr en1):0 -v /tmp/.X11-unix:/tmp/.X11-unix -v $PWD:/home/developer opendx
== MAC ==