There is no Java includfed in Docker on purpose as this is not needed generally.
However it is required as per-requisite for some storage devices like Hitachui VSF family.
- Create new docker file:
mkdir xormon-custom
cd xormon-custom;
- Edit Dockerfile:
vim Dockerfile
FROM xorux/xormon-ng:latest
RUN apt update && apt install -y \
default-jre \
&& rm -rf /var/lib/apt/lists/*
- Image built:
docker build . -t xorux/xormon-ng-custom
- run XM with java xorux/xormon-ng-custom
docker run --init -d --name xormon --ulimit core=0 -p 8443:8443 \
-v /var/xormon-ng/files:/usr/src/app/server-nest/files \
--link timescaledb:timescaledb --env-file ./xormon-ng.env xorux/xormon-ng-custom
Next problem for Hitachi VSP is the Java version.
Hitachi Export tool definitely does not work with latest Java, it needs older ones.
As far as we know only Java 11 is working will all Export tools we know.