-
-
Save rtyler/767cfab0e50d7d79100b52cf0a13427a 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
#!/bin/sh | |
ZOOMHOME=$HOME/scratch/zoom | |
# To make audio work, pulseaudio needs to be configured to listen on the | |
# network via paprefs | |
exec docker run --rm \ | |
--net host \ | |
--cpuset-cpus 2 \ | |
-u $(id -u):$(id -g) \ | |
-v $ZOOMHOME:$ZOOMHOME \ | |
-v /etc/machine-id:/etc/machine-id \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix \ | |
-v /dev/video0:/dev/video0 \ | |
-v /dev/shm:/dev/shm \ | |
--device /dev/snd \ | |
--device /dev/dri \ | |
--device /dev/video0 \ | |
--device /dev/video1 \ | |
--group-add audio \ | |
--group-add video \ | |
-e PULSE_SERVER=localhost \ | |
-e DISPLAY=unix${DISPLAY} \ | |
-e HOME=$ZOOMHOME \ | |
rtyler/zoom |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment