To run this, determine your local machine's IP address. Then run
$ xhost +
to give all hosts access to your X server and then
$ docker run -e DISPLAY=192.168.122.70:0 masysma/test3d
where 192.168.122.70 is your machine's IP address and
:0 is your X11 display to test glxinfo. Once finished, use
$ xhost -
to revoke remote access to your X server.