Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jkawamoto/docker-notifier
Notify docker's events.
https://github.com/jkawamoto/docker-notifier
Last synced: 13 days ago
JSON representation
Notify docker's events.
- Host: GitHub
- URL: https://github.com/jkawamoto/docker-notifier
- Owner: jkawamoto
- License: mit
- Created: 2014-12-12T09:06:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-18T11:41:15.000Z (almost 10 years ago)
- Last Synced: 2024-04-11T15:27:09.553Z (7 months ago)
- Language: Python
- Homepage:
- Size: 148 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Notifier
Notify docker's create and die events.## Install
```sh
$ docker pull jkawamoto/docker-notifier
```## Usage
Docker Notifier has two ways to notify those events.One of them is via [Pushover](https://pushover.net/).
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.```sh
$ docker run -v /var/run/docker.sock:/var/run/docker.sock \
jkawamoto/docker-notifier pushover
```where `` and `` 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.```bash
$ 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.