-
Hi, I'm trying to use my configuration file in Docker on a raspberry Pi 4 (freshly installed Bookworm), but it's not working. I already tried moving the file into the home folder etc., but it's not working. In the readme-file it just says:
So I tried this: But it's not using the configuration file. The answer is probably pretty simple, I'm just doing it wrong - but I have absolutely no idea what's wrong here, so thank you for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks for the post. The An alternative to using a configuration file might be to pass command line arguments to Shairport Sync, depending on what you want to do. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much - as I said, it's probably pretty simple, but I had no clue. It works finally with this command:
Maybe an example like that could be added to the docker readme file to clarify how to use the -v option. |
Beta Was this translation helpful? Give feedback.
Thank you very much - as I said, it's probably pretty simple, but I had no clue. It works finally with this command:
docker run -v /etc/shairport-sync.conf:/etc/shairport-sync.conf -d --restart unless-stopped --net host --device /dev/snd mikebrady/shairport-sync
Maybe an example like that could be added to the docker readme file to clarify how to use the -v option.