Created
May 3, 2021 12:51
-
-
Save kvaps/26f26a688b00166931a1096d0d05633d to your computer and use it in GitHub Desktop.
Run old firefox with the java applet in the container to access old iLO and KVM consoles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p /tmp/1 | |
cd /tmp/1 | |
cat > Dockerfile <<\EOT | |
FROM i386/ubuntu:12.04 | |
RUN apt-get update \ | |
&& apt-get install -y firefox=11.0+build1-0ubuntu4 icedtea-6-plugin libstdc++5 | |
EOT | |
docker build -t firefox-jre . | |
xhost +local: | |
docker run -ti \ | |
-e DISPLAY=$DISPLAY -e MOZ_NO_REMOTE=1 \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix -v $PWD:/1/ \ | |
--net=host firefox-jre firefox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment