Madsonic in Docker reports wrong IP to Sonos

Post your Server Bug Report
Posts: 1
Joined: 16 Aug 2017, 17:11
Has thanked: 0
Been thanked: 1 time

Madsonic in Docker reports wrong IP to Sonos

Unread post by Brady »

Sonos does not work when running Madsonic in a docker container because it sends the internal Docker IP in place of the actual IP that would be used to connect to the Madsonic web interface.

Take this example... The docker host is at and I access Madsonic by going to because the 4040 port is forwarded to the docker container.

When turning on Sonos in Madsonic, I see the following in the logs...

Code: Select all

[8/16/17 12:14 PM]	INFO	SonosServiceRegistration	Enabling Sonos music service, using Sonos controller IP, SID 244, presentationMap 15, stringVersion 8, and Madsonic URL is the IP that Docker assigns to Madsonic. Sonos should actually target

I know that the Docker really doesn't know the host IP... so what I would like to see is a way to override this IP in the file.

This was tested on 6.3.9540.3e2ad42.20170703.120 (the latest on the docker betas)
These users thanked the author Brady for the post:
Rating: 7.69%

User avatar
Posts: 972
Joined: 07 Dec 2012, 03:58
Answers: 4
Has thanked: 1170 times
Been thanked: 457 times

Re: Madsonic in Docker reports wrong IP to Sonos

Unread post by Madsonic »

We will examine and test this option in an upcoming release.

best regards,
The Madsonic Team

Post Reply