Skip to content

ponsfrilus/octave-x11-novnc-docker

Repository files navigation

octave-x11-novnc-docker

This docker runs GNU Octave - an open source Matlab - which provides capabilities for the numerical solution of linear and nonlinear problems, and for performing other numerical experiments. The Octave GUI have to be accessed through a browser in a noVNC windows.

Demo Screenshot

... more screenshots

This container runs

  • Xvfb - X11 in a virtual framebuffer
  • x11vnc - A VNC server that scrapes the above X11 server
  • noNVC - A HTML5 canvas vnc viewer
  • Fluxbox - a small window manager
  • octave - to demo that it works

How To

With Docker Hub

  • docker pull epflsti/octave-x11-novnc-docker
  • docker run -p 8083:8083 -ti epflsti/octave-x11-novnc-docker:latest
  • firefox http://localhost:8083
  • octave is launched, just run some script e.g. my_sombrero.m

Adding the parameter -e SCREEN_RESOLUTION=<width>x<height> the screen size displayed is adjusted to the one in the environment variable. By default it is 1024x768.

If your source files are in your host then just add the -v parameter for example

  • docker run -p 8083:8083 -ti -v $(pwd):/source epflsti/octave-x11-novnc-docker:latest

Manual Build

  • docker build -t epflsti/octave-x11-novnc-docker:latest .
  • docker run -p 8083:8083 -ti epflsti/octave-x11-novnc-docker:latest
  • firefox http://localhost:8083
  • octave is launched, just run some script e.g. my_sombrero.m

Gh-pages

Please visit the project's website on http://epfl-sti.github.io/octave-x11-novnc-docker/

On DockerHub / GitHub

Thanks

Based on wine-x11-novnc-docker, thanks @solarkennedy !