host: Ubuntu 18.04 LXD/LXC 3.0.3
I am trying to use ALSA in my ubuntu 18.04 container. ALSA on host works. I have seen this post but it doesn’t work for me.
lxc config set mycontainer raw.lxc "lxc.cgroup.devices.allow = c 116:* rwm" lxc config set mycontainer raw.lxc "lxc.mount.entry = /dev/snd dev/snd none bind,optional,create=dir 0 0"
aplay: aplay -l aplay: device_list:270: no soundcards found…
ALSA on the host works perfectly well.
I need it for a home automation text-to-speech functionality.
What else do I need to do to get it working?
Thank you in advance.