January 11, 20242 yr 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.
January 13, 20242 yr Author Anyone ? I dont think it is ideal to have a container set an privileged is it ?
January 18, 20242 yr Author Surely someone in the docker engine shouldknow the nswer to this - Or have I posted in the wrong section ?
January 20, 20242 yr Author Anyone ? https://www.trendmicro.com/en_za/research/19/l/why-running-a-privileged-container-in-docker-is-a-bad-idea.html So if a bad idea - what is the unraid process to fix the issue in post 1 - that was introduced with the latest unraid release ?
January 22, 20242 yr 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.