Modelio 4.1.0 in a docker container (for macOS)
- Once Launched :
- The host shares X11 socket and IPC with the container
=> This breaks container isolation, and the contained app can listen to all X11 events ! - The host shares your ~/.modelio/ and ~/modelio/ folders with the container.
- The host shares X11 socket and IPC with the container
- Use it at your own risk !
- Docker (https://www.docker.com) running
- X11 (tested with https://www.xquartz.org on macOS Catalina 10.15.7) running
- launch XQuartz
- in Preferences -> Security check "Authenticate connections" and "Allow connections from network clients"
- exit and re-launch XQuartz
- clone this repository
git clone https://github.com/pascalpoizat/docker-modelio
- enter the repository
cd docker-modelio - build
docker build --platform linux/amd64 -t modelio:latest . - enable the
run.shscript to be runchmod +x run.sh
Launch the run.sh script
./run.shOpenJDK 8 is installed in /usr/lib/jvm/java-8-openjdk-amd64 (for use in Java Designer module's parameters).
- this is a simple update from https://github.com/GehDoc/docker-modelio with no use of the user's UID/GID
- solution to access the X11 display from https://medium.com/@mreichelt/how-to-show-x11-windows-within-docker-on-mac-50759f4b65cb