Skip to content

solymosit/firefox-with-applets

Repository files navigation

Firefox with Java Applet Support (Legacy Container)

⚠️ Disclaimer Java applets are deprecated and widely unsupported by modern web browsers due to significant security risks and lack of active development. This container is provided as-is for the sole purpose of running legacy applications that require Java applet support within a controlled environment. Use at your own risk.
Do not expose this container to untrusted networks or sensitive data.


Image

Prebuilt image available on Docker Hub.

egyiptomi/firefox-with-applets:latest

Running the Container

Using Docker

docker pull egyiptomi/firefox-with-applets:latest

docker run -d \
  --name firefox-with-applets \
  --restart always \
  -p 5900:5900 \
  -p 6080:6080 \
  --shm-size=2g \
  egyiptomi/firefox-with-applets:latest

Using Docker Compose

Create a docker-compose.yml file:

services:
  desktop:
    image: egyiptomi/firefox-with-applets:latest
    container_name: firefox-with-applets
    restart: always

    ports:
      - "5900:5900"  # VNC
      - "6080:6080"  # noVNC web

    shm_size: "2gb"

Start the container:

docker compose up -d

Stop the container:

docker compose down

Accessing the Container

Method Address
VNC localhost:5900
noVNC (Web) http://localhost:6080

Overview

This project provides a Docker container designed to run legacy web applications that rely on Java applets.

It bundles:

  • Firefox ESR 52
  • IcedTea-Web (NPAPI plugin)
  • A VNC-enabled Linux desktop

This combination allows NPAPI-based Java applets to run in a sandboxed environment.


Base Image

Built on top of:

  • dcsunset/ubuntu-vnc:18.04

This base image provides:

  • XFCE desktop environment
  • VNC server
  • noVNC web access

Included Software & Build Details

1. NPAPI SDK

2. IcedTea-Web (1.8)

3. Mozilla Plugin Integration

  • Icedteaplugin.so is linked into Firefox’s plugin directory
  • Enables Java applet execution inside Firefox

4. Firefox ESR 52

  • Last Firefox ESR version with NPAPI support
  • Required for Java applets to function

Releases

No releases published

Packages

 
 
 

Contributors