Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description

Graphite + Carbon Docker

An all-in-one image running graphite and carbon-cache. Version: 0.9.12.


  • boot2docker
  • Statsd docker
  • graphite docker
  • graphite-data docker

This image contains a sensible default configuration of carbon. Starting this container will, by default, bind the the following
host ports:

  • 2003: the carbon-cache line receiver (the standard graphite protocol)
  • 2004: the carbon-cache pickle receiver
  • 7002: the carbon-cache query port (used by the web interface)

To build the image:

docker build -t="ravelin/infrastructure-carbon" .

If you already have services running on the host on one or more of these ports,
you may wish to allow docker to assign random ports on the host. You can do this
easily by running:

docker run -d --name=carbon --volumes-from=graphite-data -p 2003:2003 ravelin/infrastructure-carbon

Full Setup

1) Run the data volume container:

    docker run --name=graphite-data ravelin/infrastructure-graphite-data

2) Run carbon

    docker run -d --name=carbon --volumes-from=graphite-data -p 2003:2003 ravelin/infrastructure-carbon

3) Run graphite

    docker run -d --name=graphite --volumes-from=graphite-data -p 8080:80 ravelin/infrastructure-graphite

4) Access http://localhost:8080 in your web browser and login as admin (password: test)
5) Send metrics to carbon/graphite:

    echo " 42 $(date +%s)" | nc 2003

Technical details

By default, this instance of carbon-cache uses the following retention periods
resulting in whisper files of approximately 2.5MiB.


For more information, see the

Docker Pull Command
Source Repository