GitHub - joltcan/docker-carbonapi: carbonapi, from the carbon replacement stack, dockerized by me.

The carbonapi, dockerized by me.

Why diz?

I only need the binary, not all a proper dist, so I :

  • Compile go-carbon with golang docker
  • Copy the static binary to a alpine container. Could't just use the binary because you have to pass ENV variables on which carbonzipper to connect to and for that I needed a shell.

How do I get it rolling?

  • docker pull jolt/carbonapi
  • get the example conf and modify it to your liking

In short:

docker run -d --name carbonapi -v carbonapi.conf:/carbonapi.conf -p 8186:8186 jolt/carbonapi

Thanks to

bodsch, who created the Dockerfile/Makefile that I started out with.