Fix docker image name in docs (#3193)
This commit is contained in:
parent
f43af72785
commit
16d6011ca1
|
@ -22,7 +22,7 @@ The prefix is stripped from the reported `path` in the measurement.
|
||||||
This settings is useful when running `telegraf` inside a docker container to report host machine metrics.
|
This settings is useful when running `telegraf` inside a docker container to report host machine metrics.
|
||||||
In this case, the host's root volume should be mounted into the container and the `HOST_MOUNT_PREFIX` and `HOST_ETC` environment variables set.
|
In this case, the host's root volume should be mounted into the container and the `HOST_MOUNT_PREFIX` and `HOST_ETC` environment variables set.
|
||||||
|
|
||||||
`docker run -v /:/hostfs:ro -e HOST_MOUNT_PREFIX=/hostfs -e HOST_ETC=/hostfs/etc telegraf-docker`
|
`docker run -v /:/hostfs:ro -e HOST_MOUNT_PREFIX=/hostfs -e HOST_ETC=/hostfs/etc telegraf`
|
||||||
|
|
||||||
### Measurements & Fields:
|
### Measurements & Fields:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue