docker-tips
docker-tips copied to clipboard
Is there any benefits in using socat proxy over `xhost + $ip` with latest XQuartz? This approach seems to work fine https://fredrikaverpil.github.io/2016/07/31/docker-for-mac-and-gui-applications/ (except `-v /tmp/.X11-unix:/tmp/.X11-unix` should be unnecessary)
``` $ startx [1] 72491 -bash: socat: command not found [1]+ Exit 127 socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\" ``` ``` $ brew install socat ``` made the error vanish
open http://$(docker-machine ip swl-demo0):8080 should be open http://$(docker-machine ip swl-demo1):8080