Skip to content

Instantly share code, notes, and snippets.

@Djaler
Last active June 9, 2018 17:41
Show Gist options
  • Save Djaler/aa9417828d7e627f2ead9572f8a96cbd to your computer and use it in GitHub Desktop.
Save Djaler/aa9417828d7e627f2ead9572f8a96cbd to your computer and use it in GitHub Desktop.
Run GUI application in Docker
xhost +local:
docker run -it --rm -e DISPLAY=unix$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix image_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment