A small program that listens on an address or socket and redirects to a Docker Socket.
It prints information when a Docker Container is created or an image is pulled. (soon with push to InfluxDB)
go run main.go -listen localhost:9000 -target unix:/var/run/docker.sock
DOCKER_HOST=tcp://localhost:9000
go run main.go -listen unix:./listen.sock -target unix:/var/run/docker.sock
go run main.go -listen unix:/tmp/listen.sock -target localhost:9001
DOCKER_HOST=tcp://localhost:9000
docker run -it --rm hello-world
Set DOCKER_HOST to the "listen" address of the proxy, it will print the container creations and image pulls.