/x11-novnc-docker

A docker that runs any application

Primary LanguageJavaScriptApache License 2.0Apache-2.0

x11-novnc-docker

This docker runs any application, which can be accessed through a browser in a noVNC window.

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.

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 !