- Clone repo
docker-compose up
This will create 2 docker containers.
- KServer with database server and 2 compiled applications that can be scheduled
- KY_GUI
KY_GUI container will instruct you on what command to run, after it finishes building. Your x11 server needs to accept network connections. (this will be addressed soon)
- Go to docker preferences
- Share the path where you've cloned this repo
- Restart docker
- Launch XQuartz. Under the XQuartz menu, select Preferences
- Go to the security tab and ensure "Allow connections from network clients" is checked.
- Restart XQuartz.
Do the following to run the KY_GUI client:
IP=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
docker run -it --network host -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$IP:0 kiq_demo_ky_gui /ky_gui/./ky_gui 127.0.0.1 8686 test