Add Docker instructions to the README

This commit is contained in:
Steve Durrheimer 2015-06-07 17:59:17 +02:00
parent ab1541e648
commit ef08f73c0e
1 changed files with 12 additions and 0 deletions

View File

@ -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
```