Add Docker instructions to the README
This commit is contained in:
parent
ab1541e648
commit
ef08f73c0e
12
README.md
12
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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue