Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Access audio out from inside a Docker container?

Featured Replies

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!

Audio drivers aren't installed in unRaid, so you're not going to be able to do that.

Since unraid doesn't have sound support built in, I don't think it's possible.

 

I'd love to be wrong though.

I may be mistaken but I do not believe unraid has any audio drivers built in so audio devices may only function inside of a VM with device passthrough.

Edited by BRiT

  • Author

I see. Thanks. Could the container have the audio drivers?

8 minutes ago, runraid said:

I see. Thanks. Could the container have the audio drivers?

I don't think so.

  • Author

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.

You could always roll your own Kernel (similiar to the DVB project) and add the neded drivers, but running in a VM with device passthrough would be easier for most users. It all depends on your linux comfort levels.

  • Author

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. 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.