Icinga / docker-icinga2

Official Icinga 2 Docker images
GNU General Public License v2.0
67 stars 30 forks source link

Auto-fix volume permissions #32

Open Al2Klimov opened 4 years ago

Al2Klimov commented 4 years ago

https://community.icinga.com/t/icinga2-docker-on-synology/5649

Al2Klimov commented 4 years ago

Oh, and please test how this behaves w/ running as root being forbidden by K8s.

bartlebi commented 2 years ago

Any news? Same problem on DS220+

Al2Klimov commented 1 year ago

We can't do this as some companies disallow root.

julianbrost commented 1 year ago

I doubt they want a random suid binary either. It should be possible to build the entrypoint so that it only does chown if it's started as root. If you don't want that, you start the container with --user icinga and everyone should be fine.

Al2Klimov commented 1 year ago

How do you run the container?