Skip to content

Instantly share code, notes, and snippets.

@rtyler rtyler/zoom
Last active Jul 9, 2019

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.