diff --git a/content/en/docs/security/config-best-practices.md b/content/en/docs/security/config-best-practices.md index b4f50cc57af0..44a9cd74a60f 100644 --- a/content/en/docs/security/config-best-practices.md +++ b/content/en/docs/security/config-best-practices.md @@ -139,7 +139,7 @@ host) by connecting to `127.0.0.1:4567`. Here is an example `docker run` command: ```shell -docker run --hostname my-hostname --name container-name -p 127.0.0.1:4567:4317 otel/opentelemetry-collector:0.104.0 +docker run --hostname my-hostname --name container-name -p 127.0.0.1:4567:4317 otel/opentelemetry-collector:{{% param vers %}} ``` #### Docker Compose @@ -152,7 +152,7 @@ The Docker `compose.yaml` file: ```yaml services: otel-collector: - image: otel/opentelemetry-collector-contrib:0.104.0 + image: otel/opentelemetry-collector-contrib:{{% param vers %}} ports: - '4567:4317' ``` @@ -193,7 +193,7 @@ spec: spec: containers: - name: collector - image: otel/opentelemetry-collector:0.104.0 + image: otel/opentelemetry-collector:{{% param vers %}} ports: - containerPort: 4317 hostPort: 4317