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.
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.
3 terms BSD licence, © 2016 Mathieu Lecarme