From 89f034c1c0215b5492d83431e98c11323cc20e38 Mon Sep 17 00:00:00 2001 From: CodingSpiderFox Date: Thu, 22 Feb 2018 00:29:41 +0100 Subject: [PATCH] Update running-on-docker.asciidoc (#6385) * Update running-on-docker.asciidoc -e option was missing See https://discuss.elastic.co/t/running-metricbeat-in-docker-and-monitoring-the-host-system-does-not-work-with-command-from-documentation/119821 * Add missing backslash --- metricbeat/docs/running-on-docker.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metricbeat/docs/running-on-docker.asciidoc b/metricbeat/docs/running-on-docker.asciidoc index 8509a560802..1385ffe2616 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