Skip to content

Instantly share code, notes, and snippets.

@NikoWoot
Last active August 29, 2015 14:11
Show Gist options
  • Save NikoWoot/f0875498ab03a5c71ace to your computer and use it in GitHub Desktop.
Save NikoWoot/f0875498ab03a5c71ace to your computer and use it in GitHub Desktop.
Launch docker on host xsession
xhost +
docker run -Pti -e DISPLAY=$DISPLAY.0 -v /tmp/.X11-unix:/tmp/.X11-unix --net=host --name androidstudio nikowoot/android-studio
docker run -Pti -e DISPLAY=$DISPLAY.0 -v /tmp/.X11-unix:/tmp/.X11-unix --net=host --name phpstorm nikowoot/phpstorm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment