Created
September 29, 2015 20:58
-
-
Save ggarnier/9aea63dc5d96ea61c0ed to your computer and use it in GitHub Desktop.
Run graphical applications in Docker containers in OSX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/docker/docker/issues/8710#issuecomment-72669844 | |
# display IP address isn't boot2docker ip, it's the address from vboxnet0 (run `ifconfig`) | |
brew install socat | |
brew cask install xquartz | |
open -a XQuartz | |
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\" | |
# in another window | |
docker run -e DISPLAY=192.168.59.3:0 jess/geary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment