ct-Open-Source / ct-Smart-Home

A ready-to-use Node-RED setup for home automation
https://ct.de/smarthome
GNU General Public License v2.0
167 stars 40 forks source link

Privileged and Capabilities in docker-compose file #23

Closed siredmar closed 4 years ago

siredmar commented 4 years ago

Please check your docker-compose file: https://github.com/ct-Open-Source/ct-Smart-Home/blob/1e37ed33c9faab3a1d1a9ab1278450bc656215b0/docker-compose.yml#L13-L16

It seems you have some redundant settings. I also recommend not running the container privileged unless really, really needed. In most cases you can achieve the wanted effect by adding some capabilities and mounts for your specific needs.

merlinschumacher commented 4 years ago

The container now runs non priviledged. Thanks for the tipp!