IOGraph
IOGraph copied to clipboard
Run as a Docker container
Hi, nice app!
If you think it's a good idea (to add to documentation or such), here's how to run this successfully in a Docker container.
The container image build side
A Dockerfile:
FROM alpine:latest
ENTRYPOINT ["java", "-jar", "/usr/bin/IOGraph.jar"]
WORKDIR /workspace
RUN apk add openjdk21-jre fontconfig font-noto \
&& wget -O /usr/bin/IOGraph.jar https://github.com/anatolyzenkov/IOGraph/releases/download/v1.0.3/IOGraph_v1_0_3.jar
Run side
docker run --rm -it -e DISPLAY -e XAUTHORITY=/Xauthority -v "$XAUTHORITY":/Xauthority -v /tmp/.X11-unix:/tmp/.X11-unix -v "$(pwd):/workspace" iograph
FYI: I published a package here: https://github.com/r-xs-fi/iograph