PyAudio fails to load devices when run docker without sudo

Hi, I have a strange issue, when i run docker compose (docker compose up -d) without sudo I need to add to compose file the property “privileged: true” otherwise rhasspy fail to start because it can’t find “/dev/snd” device.
Despite this, when it starts, PyAudio can’t load the devices list, the only device is “Default” and it clearly doesn’t work.

If I run docker compose with sudo, all works fine, but container does not show up in the docker desktop app (why??).

The getting started guide does not mention this type of setup or issue (so, im I the only one having this issue?). I’m new to containers so I don’t understand if this behavior is normal.

I’m with POP OS distro.

did you ever figure this out?