No sound in snap apps in LXD servers

I installed gnome desktop in LXD ubuntu container (cloud variant). Then installed Firefox with snap and I get no sound when playing a youtube video. However, in LXD KVM such an issue doesn’t exist.

What do you guys think? What could be causing this? Is the ubuntu container image missing some necessary packages?

Have you seen https://blog.simos.info/how-to-easily-run-graphics-accelerated-gui-apps-in-lxd-containers-on-your-ubuntu-desktop/ ?

I think you need to share the pulseaudio component with the container :slight_smile: