From f50794d0355a2d96c98c269624516d49152d55c2 Mon Sep 17 00:00:00 2001 From: Matej Vasek Date: Thu, 6 Oct 2022 02:02:54 +0200 Subject: [PATCH] docs: added ':Z' opt to volume mount Without the option mount won't work on machines with SELinux enabled. Signed-off-by: Matej Vasek --- docs/src/main/asciidoc/opentelemetry.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/opentelemetry.adoc b/docs/src/main/asciidoc/opentelemetry.adoc index 42c2342c9adfb..2960c3ca14913 100644 --- a/docs/src/main/asciidoc/opentelemetry.adoc +++ b/docs/src/main/asciidoc/opentelemetry.adoc @@ -176,7 +176,7 @@ services: image: otel/opentelemetry-collector:latest command: ["--config=/etc/otel-collector-config.yaml"] volumes: - - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml + - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml:Z ports: - "13133:13133" # Health_check extension - "4317:4317" # OTLP gRPC receiver