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:
![Screenshot from 2024-10-22 10-10-39](https://private-user-images.githubusercontent.com/118541082/378876569-41aed056-4f95-4f2f-8490-2551ded3e952.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4OTA2OTIsIm5iZiI6MTczODg5MDM5MiwicGF0aCI6Ii8xMTg1NDEwODIvMzc4ODc2NTY5LTQxYWVkMDU2LTRmOTUtNGYyZi04NDkwLTI1NTFkZWQzZTk1Mi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwN1QwMTA2MzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04Njk5ODUxNzYxYmM0ZmRlNjdlNjM1MTA1Yjg5N2E5ZjBhNjk0ZGUyMzJkNWJmNDBlNDU1MjQzNDhkM2UxMjk1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.Xcbd4sr9mlx_gqhqLFQNeb79m2ByaAf1CT-HoWCIg2c)
Here are the logs (sanitized) from the server running successfully:
logs.txt
Beta Was this translation helpful? Give feedback.
All reactions