GNU Octave along with a handful of toolboxes.
4.2.1_cross_u16On top of the minc-toolkit 1.9.15 in Ubuntu 16.04 and using octave 4.2.1. Octave is compiled with openblas along with the --enable-64 option and uses compilation options that uses compilation options generic enough to run on most hardware/kernels :) Dockerfile
Tag 01_09_2015 is a version similar to 3.8.1 but get around the fact that octave it was not supported in ubuntu 12.04 at the time we produced it.
For the following instructions to work, you need to be on a linux system, with docker installed, and you need to be part of the docker group. The following commands are for LINUX only. Command to run bash (don't start octave)
docker run -i -t --rm --name octavebash -v $HOME:$HOME \ --user $UID:$GID simexp/octave:3.8.1 /bin/bash -c "export \ HOME=$HOME; USER=$USER; cd $HOME; source\ /opt/minc-itk4/minc-toolkit-config.sh; exec bash"
Command to run octave as command line
docker run -i -t --rm --name octavecli -v $HOME:$HOME \ --user $UID:$GID simexp/octave:3.8.1 /bin/bash -c "export \ HOME=$HOME; USER=$USER; cd $HOME; source \ /opt/minc-itk4/minc-toolkit-config.sh; octave"
Command to run octave as GUI
xhost +local: docker run -i -t --rm --name octavegui -v /tmp/.X11-unix:/tmp/.X11-unix \ -e DISPLAY=unix$DISPLAY -v $HOME:$HOME --user $UID:$GID \ simexp/octave:3.8.1 /bin/bash -c "export HOME=$HOME; USER=$USER; \ cd $HOME; source /opt/minc-itk4/minc-toolkit-config.sh; octave --force-gui"
Finally, if somehow the process did not exit properly and docker complains that octave is already running when you restart it, type:
docker stop octavegui docker rm octavegui
Replace octavegui by octavecli or octavebash, depending on the type of session you used.
This image is built using the following Docker file.