Created
January 6, 2017 09:21
-
-
Save longtimeago/9890534f978c35c8b223bf14674f928a to your computer and use it in GitHub Desktop.
Running GUI apps inside a Docker container
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
1) Install xnest on host PC | |
2) Run xnest on host PC | |
Xnest -ac -listen tcp :1 | |
Should see an empty window on host PC | |
3) Set env variable inside a container | |
export DISPLAY <HOST_PC_IP> :1 | |
4) Run GUI app inside a container |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment