oxidized
oxidized copied to clipboard
Oxidized docker container can not be started without --privileged option
As per title says. If container is started without --privileged option - it does not work.
docker run -d --name=oxidized --restart=always \
--hostname oxidized \
--network oxidized \
-e TZ="Europe/Moscow" \
-e CONFIG_RELOAD_INTERVAL=1800 \
-v ./config:/home/oxidized/.config/oxidized \
${C_IMAGE}
Gets me this output in logs:
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/10_syslog-ng.init...
[2023-10-17T16:52:27.663495] file ../../../glib/gthread-posix.c: line 1339 (g_system_thread_new): error 'Operation not permitted' during 'pthread_create'
/etc/my_init.d/10_syslog-ng.init: line 32: 16 Trace/breakpoint trap (core dumped) /usr/sbin/syslog-ng --pidfile "$PIDFILE" -F $SYSLOGNG_OPTS
*** /etc/my_init.d/10_syslog-ng.init failed with status 1
*** Killing all processes...