Created
September 7, 2017 21:55
-
-
Save rac021/e69975aa4f7526526b4d967f146ea0d3 to your computer and use it in GitHub Desktop.
This file contains 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
# start pulseaudio | |
$ docker run -d \ | |
-v /etc/localtime:/etc/localtime \ | |
-p 4713:4713 \ # expose the port | |
--device /dev/snd \ # sound | |
--name pulseaudio \ | |
jess/pulseaudio | |
# start skype | |
$ docker run -it \ | |
-v /etc/localtime:/etc/localtime \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix \ # mount the X11 socket | |
-e DISPLAY=unix$DISPLAY \ # pass the display | |
--device /dev/snd \ # sound | |
--link pulseaudio:pulseaudio \ # link pulseaudio | |
-e PULSE_SERVER=pulseaudio \ | |
--device /dev/video0 \ # video | |
--name skype \ | |
jess/skype | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment