Update supported environment variables (#6747)
This commit is contained in:
parent
b54af02a9a
commit
3e46768578
|
@ -6,14 +6,17 @@ You will need to setup several volume mounts as well as some environment
|
|||
variables:
|
||||
```
|
||||
docker run --name telegraf
|
||||
-v /:/hostfs:ro
|
||||
-v /etc:/hostfs/etc:ro
|
||||
-v /:/hostfs:ro
|
||||
-v /etc:/hostfs/etc:ro
|
||||
-v /proc:/hostfs/proc:ro
|
||||
-v /sys:/hostfs/sys:ro
|
||||
-v /var/run/utmp:/var/run/utmp:ro
|
||||
-v /var:/hostfs/var:ro
|
||||
-v /run:/hostfs/run:ro
|
||||
-e HOST_ETC=/hostfs/etc
|
||||
-e HOST_PROC=/hostfs/proc
|
||||
-e HOST_SYS=/hostfs/sys
|
||||
-e HOST_VAR=/hostfs/var
|
||||
-e HOST_RUN=/hostfs/run
|
||||
-e HOST_MOUNT_PREFIX=/hostfs
|
||||
telegraf
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue