Hassio-and-kodi-on-same-raspberry-pi 4 8gb

I instaled hassio and kodi on same raspberry-pi.
I followed the instructions here: https://community.home-assistant.io/t/guide-install-hassio-and-kodi-on-same-raspberry-pi/188057

If hassio is running, Kodi interrupts the sound. The interrupt lasts 1-2sec. It occurs at irregular intervals. This problem is only on the HDMI output. The analog output is OK. The CPU load is 15%. Ram memory is free. If I stop the docker service. The problem will be solved. Does anyone know the reason why this is happening? Can anyone help me please?