Skip to content

A simple daemon that helps you monitor docker containers by maintaining PID files for them.

License

Notifications You must be signed in to change notification settings

isobit/docker-pidwatch

 
 

Repository files navigation

docker-pidwatch

A simple daemon that helps you monitor docker containers by maintaining PID files for them.

Installation

Run ./install.sh as root.

Usage Example

docker run -it --rm --name my_container ubuntu bash -c "while true; do sleep 10; done"
cat << EOF > /etc/monit.d/my_container
check process my_container with path /var/run/docker-pidwatch/my_container.pid
	if 5 restarts with 5 cycles then timeout
EOF
monit reload

About

A simple daemon that helps you monitor docker containers by maintaining PID files for them.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%