Add Docker instructions to the README

This commit is contained in:
Steve Durrheimer 2015-06-07 16:11:38 +02:00
parent c2d70fe7dc
commit 395c1422e5

View file

@ -94,3 +94,17 @@ follows:
test.web-server.foo.bar (gauge)
=> test_web__server_foo_bar_gauge{}
## Using Docker
You can deploy this exporter using the [prom/statsd-bridge](https://registry.hub.docker.com/u/prom/statsd-bridge/) Docker image.
For example:
```bash
docker pull prom/statsd-bridge
docker run -d -p 9102:9102 -p 9125/udp:9125/udp \
-v $PWD/statsd_mapping.conf:/tmp/statsd_mapping.conf \
prom/statsd-bridge -statsd.mapping-config=/tmp/statsd_mapping.conf
```