docker-event-collector

command module
v0.0.0-...-a1fff7f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

README

christianwoehrle/docker-event-collector

Simple Collector and Reporter of Docker events

GoDoc CircleCI Go Report Card

I had the problem that a development server was very busy with instable containers that were restarted all the time.

This programm collects all the docker events, stores the names of containers that are restarted and prints a summary of the containers and number of restarts at a given interval.

Program can be called with Parameters --interval minutes --starttime [hh:mm|now]

i.e. --interval 60 --starttime [15:00|now]

Default is starttime now and interval 10 Minutes.

To run the docker-container, you have to mount in the docker-socket so that the container can collect the events:

docker run -v /var/run/docker.sock:/var/run/docker.sock christianwoehrle/docker-event-collector:latest --interval 1

Documentation

Overview

Package detects and reports a summary about dying containers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL