docker 中使用vlc
作者:互联网
sudo docker run -it
--device /dev/snd -e PULSE_SERVER=unix:/run/user/1000/pulse/native
-v /run/user/1000/pulse/native:/run/user/1000/pulse/native
-v ~/.config/pulse/cookie:/root/.config/pulse/cookie
--group-add 29
-v /tmp/.X11-unix:/tmp/.X11-unix:rw -e DISPLAY=unix$DISPLAY
--net=bridge ${IID} /bin/bash
IID: image id
标签:run,--,vlc,pulse,unix,user,使用,docker,native 来源: https://www.cnblogs.com/zl-yang/p/15844236.html