From ef08f73c0efb03eff2111ba1d262f79de792df8b Mon Sep 17 00:00:00 2001 From: Steve Durrheimer Date: Sun, 7 Jun 2015 17:59:17 +0200 Subject: [PATCH] Add Docker instructions to the README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 4627b678..f2dd5fe6 100644 --- a/README.md +++ b/README.md @@ -74,3 +74,15 @@ To statically set roles for a machine using labels: echo 'role{role="application_server"} 1' > /path/to/directory/role.prom.$$ mv /path/to/directory/role.prom.$$ /path/to/directory/role.prom ``` + +## Using Docker + +You can deploy this exporter using the [prom/node-exporter](https://registry.hub.docker.com/u/prom/node-exporter/) Docker image. + +For example: + +```bash +docker pull prom/node-exporter + +docker run -d -p 9100:9100 --net="host" prom/node-exporter +```