The latest possible version is Java 1.8 in combination with Firefox 52.8.0. Since both Java and Firefox versions are old and very likely possess serious vulnerabilities, it is necessary to emphasize that they should be used solely for accessing trusted remote server boards, and nothing else!
The Docker image we use is based on CentOS 6 with additional installations of Java and Firefox. Therefore X11 server is necessary to display the browser window. Linux and Unix based operating systems support X11 out of the box. MacOS and Windows users will have to download a free implementation of X11.
Let’s pull the Docker image first.
For Linux users the DISPLAY variable needs to be adapted as following.
For MacOS users, access to the X11 server needs to be granted and the DISPLAY variable needs to be set accordingly.
With these settings we can run the docker container as following:
If a proxy is necessary to access the remote board, the following file needs to be present and made available to the container.
pref("network.proxy.http", "proxy.server.local"); pref("network.proxy.http_port", 8080); pref("network.proxy.ssl", "proxy.server.local"); pref("network.proxy.ssl_port", 8080); pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, *.server.local"); pref("network.proxy.type", 1); pref("network.proxy.share_proxy_settings", true);
The file is passed as volume to the container by adding the following option to the Docker command.
A custom preferences file can be added as well, by adding the following option to the Docker command:
The Git project for building the Docker image can be found here.
A start script is available, which can be placed into PATH to run the container from a simple command.