diff --git a/metricbeat/docs/running-on-docker.asciidoc b/metricbeat/docs/running-on-docker.asciidoc index 8509a5608025..1385ffe2616e 100644 --- a/metricbeat/docs/running-on-docker.asciidoc +++ b/metricbeat/docs/running-on-docker.asciidoc @@ -18,8 +18,8 @@ docker run \ --volume=/proc:/hostfs/proc:ro \ <1> --volume=/sys/fs/cgroup:/hostfs/sys/fs/cgroup:ro \ <2> --volume=/:/hostfs:ro \ <3> - --net=host <4> - {dockerimage} -system.hostfs=/hostfs + --net=host \ <4> + {dockerimage} -e -system.hostfs=/hostfs ---- <1> Metricbeat's <> collects much of its data through the Linux proc