Docker nagios container additionaly volumes?
Posted: Tue Jul 26, 2016 6:20 am
Hello!
I'm using nagios (3.5.1) currently within a docker container installed trough ubuntu 14.04 LTS via apt.
I've mapped the configuration directory from within the docker container to my host like this:
I'm now wondering which additional directories do need to be persistent for to not lose the cached/monitored data information, when restarting the container? Can someone may give me a hint which other directories need/should to be persistent too? Cause curretnly I'm losing all information when I restart the dpcker container of course.
thanks a lot!
I'm using nagios (3.5.1) currently within a docker container installed trough ubuntu 14.04 LTS via apt.
I've mapped the configuration directory from within the docker container to my host like this:
Code: Select all
/opt/docker_data/nagios/nagios3:/etc/nagios3
thanks a lot!