I run the docker nagios from here: https://hub.docker.com/r/jasonrivers/nagios/
Problem is that nagios is not added in /etc/initi.d/nagios
Can I add nagios to etc and how?
Thanks ind advance
You cannot run Nagios as service if you are running Nagios as docker container.
You can use --restart=always
option and run docker like this:
$ docker run --restart=always --name nagios4 -p 0.0.0.0:8080:80 jasonrivers/nagios:latest
NOTE:
Make sure docker service is set to start after reboot!!!