use inotify events to send signals to other docker containers
50K+
docker run -it --rm \
--name inotify \
-e CONTAINER=haproxy \
-v /data/certs:/data \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
cbolt/inotify
For debug propose it's possible to pass additional curl options into the container. Just set the environment variable CURL_OPTIONS=-v.
The default signal is SIGHUP. This behaviour can be overwritten, if you set the environment variable SIGNAL=<signal>.
The default inotify events are create,delete,modify,move. This behaviour can be overwritten, if you set the environment variable INOTIFY_EVENTS=<events>.
To define your own inotify options, overwrite the variable INOTIFY_OPTONS=<your options>.
Content type
Image
Digest
Size
2.6 MB
Last updated
almost 9 years ago
docker pull cbolt/inotify