-
-
Save giig982/a9cc9447fe6059dfaa3c154ff70857a4 to your computer and use it in GitHub Desktop.
x11 with docker archlinux
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
| KEY=$(xauth list |grep $(hostname) | awk '{ print $3 }' | head -n 1) | |
| DCK_HOST=docker-skype | |
| xauth add $DCK_HOST/unix:0 . $KEY | |
| docker run -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix \ | |
| -v $HOME/.Xauthority:/tmp/.Xauthority \ | |
| -v /dev/snd:/dev/snd \ | |
| -e DISPLAY=unix$DISPLAY \ | |
| -e XAUTHORITY=/tmp/.Xauthority \ | |
| -h $DCK_HOST \ | |
| jess/skype |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment