docker monitor using docker /events HTTP streaming API
Project description
# dockermon - Docker Monitor Utility
dockermon listens for events from docker daemon using the docker /events [HTTP API][api].
[api]: https://docs.docker.com/reference/api/docker_remote_api_v1.19/
# Usage
## Library You can use dockermon as a library and then call watch(callback), you’re callback function will be called with new event (dict).
# Command Line The other option is to use dockermon as a command line tool and specify a program to call with every new event. The program will be launched and the event encode in JSON will be send to the program standard input. For example:
python -m dockermon “jq –unbuffered .”
If not program is specified, events will be printed to standard output as JSON objects, one per line.
# Bugs and Project
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file dockermon-0.1.0.tar.gz
.
File metadata
- Download URL: dockermon-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47e55976e040c85787c6cf9e2a31c7c245af6ff3ecd83f0dd844d077b795a13c |
|
MD5 | 3139ad993c3e4195aaed651066190109 |
|
BLAKE2b-256 | 62d3785c227426ff1aed648ac4210b0604118026babc573b0e04902072f1b422 |