Public | Automated Build

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

Graphite Docker

Docker running graphite and graphite-web.

Prerequisites:

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

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

  • 80: the graphite web interface

To build the image:

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

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 graphite -m 512m -p 8080:80 ravelin/infrastructure-graphite

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 "test.foo 42 $(date +%s)" | nc 192.168.59.103 2003
Docker Pull Command
Owner
ravelin
Source Repository

Comments (0)