original image desktopcontainers/java-applet-player
This is a Debian Stretch Container with installed Firefox, OpenJRE 8 and Java Applet.
Use this on Platforms where you don't want to install a JRE or need to use Java Applets and want to avoid using them directly.
The Security Settings of Icedtea Plugin set to LOW. So be careful and maybe only use this container when you trust the client. For example a Hardware Appliance or something similar.
It's based on DesktopContainers/base-debian
- WEB_URL
- specify the url the browser will point to by default e.g. the citrix login portal url
Since it is an X11 GUI software, usage is in two steps:
docker start jap || docker run -d --name jap \
-e 'WEB_URL=https://my-trusted-client/' \
-e 'WEB_URL_JAVA_EXCEPTION=https://my-trusted-client/'
sysincz/java-applet-player:v2.1
xhost +local:jap
docker run -it --rm --name jap \
-h 'jap'
-e "DISPLAY=${DISPLAY}" --entrypoint /usr/local/bin/ssh-app.sh -v "/tmp/.X11-unix:/tmp/.X11-unix" \
-e 'WEB_URL=https://my-trusted-client/' \
-e 'WEB_URL_JAVA_EXCEPTION=https://my-trusted-client/'
sysincz/java-applet-player:v2.1
_Logging in with `ssh` automatically opens a firefox window_
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no \
-X app@$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' jap)
You can configure firefox and set bookmarks. As long as you don't remove the container and you reuse the same container, all your changes persist. You could also tag and push your configuration to a registry to backup (should be your own private registry for your privacy).