Run pulseaudio in a Docker container
Go to file
2016-03-23 21:42:58 +01:00
client.conf first commit 2016-03-23 21:42:58 +01:00
daemon.conf first commit 2016-03-23 21:42:58 +01:00
default.pa first commit 2016-03-23 21:42:58 +01:00
docker-compose.yml first commit 2016-03-23 21:42:58 +01:00
Dockerfile first commit 2016-03-23 21:42:58 +01:00
LICENSE Initial commit 2016-03-23 20:38:27 +00:00
README.md first commit 2016-03-23 21:42:58 +01:00

Readme

Launching pulseaudio

echo "autospawn = no" > ~/.config/pulse/client.conf
pulseaudio --kill
rm -rf ~/.config/pulse/
docker-compose up -d

If you wish your host system to use your docker pulseaudio server, e.g. accepting Fn volume Up/Down and On/Off keys, issue the following command

xprop -root -f PULSE_SERVER 8s -set PULSE_SERVER "tcp:localhost:4713"

To remove pulseaudio properties from environment variables

pax11publish -e

To test whether pulseaudio is working

PULSE_SERVER="tcp:localhost:4713" pactl list
PULSE_SERVER="tcp:localhost:4713" alsamixer
PULSE_SERVER="tcp:localhost:4713" mplayer some.avi