How to play sound in a Docker container on Mac OS Yosemite
It is definitely possible, you need to mount /dev/snd, see how Jess Frazelle launches a Spotify container, from https://blog.jessfraz.com/post/docker-containers-on-the-desktop/ you will notice docker run -it \ -v /tmp/.X11-unix:/tmp/.X11-unix \ # mount the X11 socket -e DISPLAY=unix$DISPLAY \ # pass the display –device /dev/snd \ # sound –name spotify \ jess/spotify or for Chrome, at the … Read more