Problems with Kodi's DLNA Digital Media Renderer

Hello everyone,
have any of you tried to play multimedia files from the Kodi integration in the new “media” tab introduced last month?
I have a supervised Home Assistant installation on Docker on a Raspberry Pi4 with Raspbian Buster and I also installed Kodi as it seemed a waste to use the Pi4 only for Home Assistant.
In Home Assistant everything works fine for me except when I want to play a Kodi media file via the “media” tab.
In practice, the DLNA Digital Media Renderer integration finds Kodi for me and configures it and everything works fine until I restart Home Assistant: after each restart it does not play anything anymore and if I go to see from Chrome debugging (I only use Chrome)
I can see it trying to call media files from http://172.17.0.1:1807 instead of http://192.168.0.44:1807 which is my Raspberry’s local IP.
The address http://172.17.0.1:1807 corresponds to what HA creates in the Docker but I don’t understand why it doesn’t keep the one assigned to the Raspberry after a reboot.
The only way to make this work is to remove the Kodi integration from the DLNA Digital Media Renderer and then have it detect it again, then it works … until the next reboot.
Is there anyone who has the same problems as me and maybe he solved it ???
If it helps, the Home Assistant version is 2022.3.4 (but even with the previous 2022.3.3 I have this problem), the Docker version is 20.10.13