Last active
December 22, 2022 13:25
-
-
Save linuxoid69/118c940574ad92b466a48c3694bb3863 to your computer and use it in GitHub Desktop.
how run gui application in docker
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
$ docker run -e DISPLAY=unix$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix <image> | |
# sound | |
$ docker run --device=/dev/snd/controlC0 --device=/dev/snd/pcmC0D0p --device=/dev/snd/seq --device=/dev/snd/timer <image> | |
#on host machine | |
$ xhost +local: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
need to install xvfb