Based on https://github.com/theasp/docker-novnc
- 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
- socat - for use with other containers
- xterm - to demo that it works
- supervisord - to keep it all running
You can specify the following variables:
DISPLAY_WIDTH=<width>
(1024)DISPLAY_HEIGHT=<height>
(768)RUN_XTERM={yes|no}
(yes)RUN_FLUXBOX={yes|no}
(yes)
Run:
$ docker run --rm -it -p 8080:8080 root-docker-novnc
Open a browser and see the xterm
demo at http://<server>:8080/vnc.html
This is based on the alpine container by @psharkey: https://github.com/psharkey/docker/tree/master/novnc Based on wine-x11-novnc-docker and octave-x11-novnc-docker.