kevineye / docker-shairport-sync

Docker container for shairport-sync audio (AirPlay) receiver
39 stars 23 forks source link

How do you run multiple instances? #6

Open melyux opened 5 years ago

melyux commented 5 years ago

I have multiple sound cards for which I want to run this container. What are the options to use to avoid "fatal error: Could not establish a service on port 5000 -- program terminating. Is another instance of Shairport Sync running on this device?"

melyux commented 4 years ago

Answer to my old question: You do this by specifying the port differently for multiple instances. For example, in the docker-compose.yml, specify for one container command: -p 5100 and command: -p 5200 for the other and command: -p 5300 for the next and so on.