Docker update - No soundcards

Hassio supervisor updated to 06.2, and broke. This is because it required me to update docker to 20.10.7 but then this update broke Rhasspy.

If I enter the rhasspy docker container:
sudo docker exec -t -i addon_47701997_rhasspy /bin/bash
and run arecord -l, I should expect to see the sound card, right?

Inside the container, I get:
arecord: device_list:272: no soundcards found...

and on the host I get:

**** List of CAPTURE Hardware Devices ****
card 1: CMTECK [CMTECK], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Is there a permissions issue with /dev/snd? Does Rhasspy Hassio Addon require a change to be compatible with the latest docker?

I’ve reinstalled, but no luck.

Did you ever get this fixed? I’m having the same issue with Docker 20.10.22 on a RPi Zero W with an IQAudio Codec Zero hat

On the host recording works and

pi@rhasspy-sat1:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: IQaudIOCODEC [IQaudIOCODEC], device 0: IQaudIO CODEC HiFi v1.2 da7213-hifi-0 [IQaudIO CODEC HiFi v1.2 da7213-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

In the container, not so much :slight_smile:

root@6dd11f39d532:/# ls -la /dev/snd/
total 0
drwxr-xr-x 2 root   root        180 Jan 19 01:33 .
drwxr-xr-x 6 root   root        340 Jan 19 01:33 ..
crw-rw---- 1 nobody nogroup 116,  0 Jan 19 01:10 controlC0
crw-rw---- 1 nobody nogroup 116, 32 Jan 19 01:10 controlC1
crw-rw---- 1 nobody nogroup 116, 16 Jan 19 01:10 pcmC0D0p
crw-rw---- 1 nobody nogroup 116, 56 Jan 19 01:10 pcmC1D0c
crw-rw---- 1 nobody nogroup 116, 48 Jan 19 01:10 pcmC1D0p
crw-rw---- 1 nobody nogroup 116,  1 Jan 19 01:09 seq
crw-rw---- 1 nobody nogroup 116, 33 Jan 19 01:09 timer
root@6dd11f39d532:/# arecord -L
null
    Discard all samples (playback) or generate zero samples (capture)
jack
    JACK Audio Connection Kit
pulse
    PulseAudio Sound Server
root@6dd11f39d532:/# arecord -l
arecord: device_list:272: no soundcards found...