https://github.com/imiric/docker-java8-32bit
Dockerized Java8 w/ IcedTea
https://github.com/imiric/docker-java8-32bit
Last synced: 5 months ago
JSON representation
Dockerized Java8 w/ IcedTea
- Host: GitHub
- URL: https://github.com/imiric/docker-java8-32bit
- Owner: imiric
- License: mit
- Created: 2025-02-10T00:30:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-24T11:15:40.000Z (over 1 year ago)
- Last Synced: 2026-01-13T07:45:21.085Z (6 months ago)
- Language: Dockerfile
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Java8 w/ IcedTea plugin
Dockerfile for creating a 32bit Docker image with Java8 JRE and the IcedTea plugin.
This is useful for old servers that use Java-based IPMI (e.g. Supermicro).
## Build
```shell
sudo docker build --platform linux/386 -t imiric/docker-java8-32bit .
```
## Usage
1. Download a JNLP file from the server.
2. Run:
```shell
sudo docker run --rm --platform linux/386 --network=host \
-e DISPLAY=$DISPLAY -e HOSTNAME=$HOSTNAME \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v "$HOME/Downloads/launch.jnlp:/data/launch.jnlp" \
-it imiric/docker-java8-32bit javaws launch.jnlp
```
This will launch the IcedTea Web window and load the application.
You might be prompted to accept the HTTPS certificate, to accept the application
signature and to run the application.
If you run into any permission issues connecting to the X server, such as
`Can't open display` or `Authorization required`, allow local connections with:
```shell
xhost +local:
```
Then when you're done enable access control again with `xhost -`.
## License
[MIT](./LICENSE)