docker build -t chess:v1 .
xhost +
ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
docker run -e DISPLAY=$ip:0 -v /tmp/.X11-unix:/tmp/.X11-unix -ti chess:v1
xhost -
PanterSoft | TeefanDev |
---|---|
docker build -t chess:v1 .
xhost +
ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
docker run -e DISPLAY=$ip:0 -v /tmp/.X11-unix:/tmp/.X11-unix -ti chess:v1
xhost -
PanterSoft | TeefanDev |
---|---|