My Success With Launching Shairport-Sync in Docker on Ubuntu 24.04.1 #1923
DiogenesAnalytics
started this conversation in
General
Replies: 1 comment 1 reply
-
Thanks for that useful guide! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Having used Shairport-Sync deployed with Docker (i.e. the
mikebrady/shairport-sync
image) for many years (almost a decade now) I had only ever used it on Raspberry Pis (which of course worked flawlessly). Recently I needed to deploy a shairport-sync instance on an Ubuntu Desktop (24.04.1) installed on a 2011 iMac and it was a bit more challenging ...As it turns out this was in large part due to the default output in ALSA on Ubuntu being Pipewire. While I was able to get Shairport-Sync to work on the bare-metal host after installing with
sudo apt install shairport-sync
, I could not get the Docker version to work.But I stayed on it, and I eventually was able to discover what was the "system default" for the audio output device by running the following:
Notice that is a capital L ... which printed out:
Eventually, after much research and attempts to mess around with pipewire, I found a combination of Docker options that configured the container correctly:
This has worked so far ... no crashing, no "sound not playing" issues ... it actually works. I hope that this info will help as many people trying to setup the dockerized Shairport-Sync on Ubuntu (specifically
24+
) as possible (because I know, as we all do, how frustrating and mind destroying solving some of these technical/configuration problems can be).Best of luck to you all, and I hope this helps.
P.S.
Here is a pic of my Owntone server using all 3 dockerized Shairport-Sync servers:
Here are the logs (sanitized) from the server running successfully:
logs.txt
Beta Was this translation helpful? Give feedback.
All reactions