docker-icinga2 icon indicating copy to clipboard operation
docker-icinga2 copied to clipboard

Auto-fix volume permissions

Open Al2Klimov opened this issue 4 years ago • 5 comments

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

Al2Klimov avatar Oct 16 '20 09:10 Al2Klimov

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

Al2Klimov avatar Oct 28 '20 13:10 Al2Klimov

Any news? Same problem on DS220+

bartlebi avatar May 12 '22 16:05 bartlebi

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

Al2Klimov avatar Jan 27 '23 15:01 Al2Klimov

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.

julianbrost avatar Jan 27 '23 15:01 julianbrost

How do you run the container?

Al2Klimov avatar Jan 30 '23 10:01 Al2Klimov