Access audio out from inside a Docker container?


Recommended Posts

Hi, how would I go about accessing the audio out jack on my server from inside a Docker container?

 

I run the Home Assistant Docker container and I'd like to play sound during certain events but I'm not sure how to get access to the audio out inside the container.

 

Thanks!

Link to comment

Thanks again. I'm wondering what my options are? I'd like to keep Home Assistant in a Docker container and not in a VM.

 

I currently have it playing audio via a Chrome Cast Audio, but that has about a 3 second delay. I'd like to have a speaker wired up directly.

Link to comment

Thanks. I'm going to do some experimenting. I'm fine with Linux but it's nice not having that VM running and it's nice having the Unraid UI show me when there are updates to the image. I guess I could run a small vm that I use to play the audio through and have home assistant play through that. Thanks again for all of the quick replies. You all are very helpful. 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.