Run Monit inside docker.
Dockerfile | ||
monitrc | ||
README.md |
Monit - UNIX Systems Management
Run Monit inside docker.
Monit is a free open source utility for managing and monitoring, processes, programs, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.
Docker setup
Install docker: https://docs.docker.com/engine/installation/
Docker documentation: https://docs.docker.com/
Build-in docker image
-
build docker image
docker build -t monit .
-
start monit:
docker run -ti -p 2812:2812 -v $(pwd)/monitrc:/etc/monitrc monit