diff --git a/scripts/testing/docker-compose_otel-collector.yaml b/scripts/testing/docker-compose_otel-collector.yaml index efaa57d1b..4003f6f3a 100644 --- a/scripts/testing/docker-compose_otel-collector.yaml +++ b/scripts/testing/docker-compose_otel-collector.yaml @@ -14,6 +14,8 @@ services: container_name: collector restart: always command: ["--config=/etc/otel-collector-config.yaml"] + security_opt: + - no-new-privileges:true volumes: - ./otel-collector.yaml:/etc/otel-collector-config.yaml ports: