Public | Automated Build

Last pushed: 2 years ago
Short Description
Notify docker's create and die events.
Full Description

Docker Notifier

Notify docker's create and die events.

Install

$ docker pull jkawamoto/docker-notifier

Usage

Docker Notifier has two ways to notify those events.

One of them is via Pushover.
In this case, Docker Notifier notify only die events
i.e. it notify when containers restart, stop, and abend.
The usage of this notifications is as follows.

$ docker run -v /var/run/docker.sock:/var/run/docker.sock \
    jkawamoto/docker-notifier pushover <USER> <TOKEN>

where <USER> and <TOKEN> are user key and application key of PushOver, respectively.

The other way is via stdout / file like object.
You can connect other program with this notifications by pipe, etc.
The usage if as follows.

$ docker run -v /var/run/docker.sock:/var/run/docker.sock \
jkawamoto/docker-notifier stream

Filtering

Use --filter option to choose containers to notify.
The option takes a UNIX-like filtering pattern.

License

This software is released under the MIT License, see LICENSE.

Docker Pull Command
Owner
jkawamoto
Source Repository

Comments (0)