Pulseaudio+Bluetooth w/o sound hardware

Hi all!!

I have a microserver with Alpine Linux that lacks audio hardware in which I want to mount a Docker container with pulseaudio and bluetooth support, but I’ve been struggling with it for days and I’m not able to find the right image settings. I’m starting to think that it can’t be done, since it gives me problems either D-Bus, or as I have no audio output pulseadio doesn’t start (been trying null module w/o success). Please, could someone lend me a hand? The goal as a last step is to create an image that automatically connects to a list of MACs by bluetooth and then use them as snapcast sinks, but as I say being able to start a container with pulseaudio and bluetooth tools for now is enough for me. Can anyone help me please?!?!?!?!

Thanks a lot!

I have almost managed the problem. I think I have some issue with D-Bus. When trying to start “bluetoothd” service I get this error:

D-Bus setup failed: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused

I have mounted /var/run/dbus folder in my container, but istill doesn’t work. Could it be some permissions problem?

Thanks!

We can’t tell unless you give us more context. How do you build the image and run the container?