docker/docker: how to use -e DISPLAY flag on osx?
mercredi 26 août 2015 à 07:10JMLRT's Shaarli
Pour utiliser X11 dans un docker sur MacOS X:
"""
brew install socat
brew cask install xquartz
open -a XQuartz
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
# in another window
# MyVBoxIP = VirtualBox IP with ifconfig vboxnet0
docker run -e DISPLAY=${MyVBoxIP}:0 jess/geary
(Permalink)
Pour utiliser X11 dans un docker sur MacOS X:
"""
brew install socat
brew cask install xquartz
open -a XQuartz
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
# in another window
# MyVBoxIP = VirtualBox IP with ifconfig vboxnet0
docker run -e DISPLAY=${MyVBoxIP}:0 jess/geary
(Permalink)