entrypoint should be extended with "adduser openhab audio" (exists as predefined group in debian image).
Otherwise openhab will not be able to play audio even if the host user has been added to the audio group and the device /dev/snd has been binded to the container.
entrypoint should be extended with "adduser openhab audio" (exists as predefined group in debian image).
Otherwise openhab will not be able to play audio even if the host user has been added to the audio group and the device /dev/snd has been binded to the container.
See also https://community.openhab.org/t/solved-unable-to-play-audio-in-rule-when-using-docker/80170, which has been marked as resolved although the problem had not been fixed for anyone but the author.