Skip to content

Commit 5efce71

Browse files
authored
Update docker FAQ (influxdata#7868)
1 parent 9f6b709 commit 5efce71

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

docs/FAQ.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,14 @@
55
You will need to setup several volume mounts as well as some environment
66
variables:
77
```
8-
docker run --name telegraf
9-
-v /:/hostfs:ro
10-
-v /etc:/hostfs/etc:ro
11-
-v /proc:/hostfs/proc:ro
12-
-v /sys:/hostfs/sys:ro
13-
-v /var:/hostfs/var:ro
14-
-v /run:/hostfs/run:ro
15-
-e HOST_ETC=/hostfs/etc
16-
-e HOST_PROC=/hostfs/proc
17-
-e HOST_SYS=/hostfs/sys
18-
-e HOST_VAR=/hostfs/var
19-
-e HOST_RUN=/hostfs/run
20-
-e HOST_MOUNT_PREFIX=/hostfs
8+
docker run --name telegraf \
9+
-v /:/hostfs:ro \
10+
-e HOST_ETC=/hostfs/etc \
11+
-e HOST_PROC=/hostfs/proc \
12+
-e HOST_SYS=/hostfs/sys \
13+
-e HOST_VAR=/hostfs/var \
14+
-e HOST_RUN=/hostfs/run \
15+
-e HOST_MOUNT_PREFIX=/hostfs \
2116
telegraf
2217
```
2318

0 commit comments

Comments
 (0)