athoune / just-the-events

Readable and auditable filter for just listening docker events
0 stars 0 forks source link

Just the events

Readable and auditable filter for just listening docker events

First terminal:

go build
./just-the-events

Second terminal:

docker -H unix:///tmp/just-the-events.sock events

Third terminal, do something with docker.

Service

A systemd service is provided

useradd --system just_the_events
adduser just_the_events docker

just_the_events can use docker socket, anybody in just_the_events groups has readonly access to docker.

Licence

3 terms BSD licence, © 2016 Mathieu Lecarme