I gave up using the Kodi docker as a server.  When it worked it worked ok but every once in a while something would happen and I'd have to troubleshoot the setup, recreate, the configs, etc. I still use Kodi for the client but I run a Emby docker for the server piece.   With the Emby docker setup, you simply install the EmbyCon addon on the clients, supply the IP of the Emby docker and your done. I've been running this setup for about 8 months and haven't had any issues.