This container image is intended to be used for displaying X11 applications from containers in a browser.
- 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
- Firefox - A web browser, customize using Firefox policies.json
- Chocolate Doom - A
DOOM source port - Thunar - A modern file manager
- Xfce Terminal - A lightweight and easy to use terminal emulator
- Mousepad - A text editor
- supervisord - To keep it all running
You can specify the following variables (default):
DISPLAY_WIDTH=<width>(1920)DISPLAY_HEIGHT=<height>(1080)RUN_TERMINAL={True|False}(False)RUN_FLUXBOX={True|False}(True)RUN_FIREFOX={True|False}(False)RUN_DOOM={True|False}(False)
This command builds the Docker image from the Dockerfile in the current directory. The -t novnc option tags the image with the name novnc.
docker build -t novnc .This command starts a container from the novnc image.
docker run -p 8080:8080 novncThis command starts a container from the novnc image and automatically starts Firefox.
docker run -p 8080:8080 -e RUN_FIREFOX=True novncOpen a browser and see the desktop at http://localhost:8080/.
This container is based on the container by @theasp: https://github.com/theasp/docker-novnc
