Kodi running in docker can't detect Ubuntu audio device

I have Kodi running in docker. I can’t get the Kodi web interface to show any audio devices or play audio.

Any tricks to make this work?

If you’re running our kodi-headless, it has been unsupported for a long time and never was intended for that.