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.

Does passing USB comms stick to a docker container need Privileged mode ?

Featured Replies

I have a home assistant container and I am passing through a usb device that talks to a current cost envir unit.

 

I added a device like such :

/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0:/dev/currentcost

 

But this only works if the container is set to Privileged mode.  Is this by design ?

 

I was on 6.12.4 and this 'hack' I fond on the support forum worked :

Add this to the post arguments - && docker exec -u root homeassistant sh -c "chmod a+rwx /dev/currentcost"

 

But now I upgreaded to 6.12.6, this again needs to be Privileged mode as this hack no longer works.

  • Author

Anyone ?

 

I dont think it is ideal to have a container set an privileged is it ?

  • Author

Surely someone in the docker engine shouldknow the nswer to this - Or have I posted in the wrong section ?

  • Author

11 days since I posted this, and no support for it.

I would think this was a simple answer that many people would know.

I dont know if this is a stupid post and hence met with disdain by anyone reading it - or there is just little support here in this forum.

I guess no point in posting again to move this to the top - as no answers in 11 days, then I assume this is dead.

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...

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.