A very simplistic Docker container that monitors a set of containers and restarts them if they become unhealthy.
Currently it can monitor containers based on their name only.
Let's say we want to monitor containers some-app
and some-server
. Create the container with:
$ docker run \
--name nigromancer \
-v /var/run/docker.sock:/var/run/docker.sock \
-e RESURRECT_NAMES="some-app some-server" \
--restart always \
outlyernet/reaper-nigromancer
Currently the image found on Docker Hub supports the AMD64, i386, ARM v7 and ARM v8 (i.e. 64 bit ARM).
This container was inspired by docker-autoheal.