Public Repository

Last pushed: 22 days ago
Short Description
Octave, built on top of the minc-toolkit in Ubuntu. We presently use octave 4.2.1
Full Description

GNU Octave along with a handful of toolboxes.

  • 4.2.1_cross_u16 On 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

  • 4.0.2_ubuntu_12 On top of the minc-toolkit 1.9.2 in Ubuntu 12.04 and using octave 4.0.2 Dockerfile here

  • 3.8.1 on top of the minc-toolkit 1.9.2 in Ubuntu 12.04 and octave 3.8.2. : Dockerfile here

  • 4.0.0 on top of the minc-toolkit 1.9.11 in Ubuntu 16.04 and octave 4.0.0 : Dockerfile here

  • 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.

Docker Pull Command
Owner
simexp

Comments (0)