Rhasspy on Podman


Has anyone gotten this working with rootless Podman instead of Docker?

I created a user, added them to the audio group, and also based on what I read on this page, added a parameter.

–group-add keep-groups

Which I think is meant to pass on permissions of groups to the container. First time I didn’t do this, and it couldn’t detect any sound cards. Now, it does see devices, but trying the test fails.

podman run -d -p 12101:12101
–name rhasspy
–restart unless-stopped
-v “$HOME/.config/rhasspy/profiles:/profiles”
-v “/etc/localtime:/etc/localtime:ro”
–device /dev/snd:/dev/snd
–group-add keep-groups
–user-profiles /profiles
–profile en