- XQuartz must be installed
- XQuartz must listen on TCP, do so with
defaults write org.macosforge.xquartz.X11 nolisten_tcp -boolean false - XQuartz must be open. Open with
open -a xquartz - X server must be accesible to localhost:
xhost +localhost - run with
docker run -e DISPLAY=10.0.2.2:0.0 containersol/jmeter
You should pass the x11 socket:
docker run \
-v /tmp/.X11-unix:/tmp/.X11-unix \ # mount the X11 socket
-e DISPLAY=unix$DISPLAY \ # pass the display
containersol/jmeter