LoginSignup
9
8

More than 5 years have passed since last update.

macでdockerからGUIアプリを立ち上げる

Posted at
brew install socat
brew install caskroom/cask/brew-cask
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 docker_tag
9
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
8