Add Docker instructions to the README

pull/93/head
Steve Durrheimer 10 years ago
parent ab1541e648
commit ef08f73c0e

@ -74,3 +74,15 @@ To statically set roles for a machine using labels:
echo 'role{role="application_server"} 1' > /path/to/directory/role.prom.$$ echo 'role{role="application_server"} 1' > /path/to/directory/role.prom.$$
mv /path/to/directory/role.prom.$$ /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
```

Loading…
Cancel
Save