vw-kombi Posted January 11 Share Posted January 11 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. Quote Link to comment
vw-kombi Posted January 13 Author Share Posted January 13 Anyone ? I dont think it is ideal to have a container set an privileged is it ? Quote Link to comment
vw-kombi Posted January 18 Author Share Posted January 18 Surely someone in the docker engine shouldknow the nswer to this - Or have I posted in the wrong section ? Quote Link to comment
vw-kombi Posted January 20 Author Share Posted January 20 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 ? Quote Link to comment
vw-kombi Posted January 22 Author Share Posted January 22 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. Quote Link to comment
Recommended Posts
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.