Sign inSign up

cleanstart/opentelemetry-collector-contrib

Verified Publisher

By CleanStart

•Updated about 1 hour ago

Secure by Design, Built for Speed, Hardened Container Images on a minimal base CleanStart OS.

Image
Monitoring & observability
0

50K+

cleanstart/opentelemetry-collector-contrib repository overview

Verified OPENTELEMETRY-COLLECTOR-CONTRIB Container Image

A hardened, minimal OPENTELEMETRY-COLLECTOR-CONTRIB container image built from source with verifiable software provenance and an SBOM, designed for secure production deployments.

For additional versions including FIPS support, explore CleanStart Images — secure, hardened container images⁠

⁠Pull Latest Image

Download the container image from the registry

docker pull cleanstart/opentelemetry-collector-contrib:latest
docker pull cleanstart/opentelemetry-collector-contrib:latest-dev

⁠Basic config file

Create config file (vi otel-config.yaml)

receivers:
  otlp:
    protocols:
      grpc:
        endpoint: 0.0.0.0:4317
      http:
        endpoint: 0.0.0.0:4318

processors:
  batch:

exporters:
  debug:
    verbosity: detailed

service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch]
      exporters: [debug]
    metrics:
      receivers: [otlp]
      processors: [batch]
      exporters: [debug]
    logs:
      receivers: [otlp]
      processors: [batch]
      exporters: [debug]

⁠Basic Run

Run the container with basic configuration and volume mount

docker run -it --name opentelemetry-collector-contrib \
  -v $(pwd)/otel-config.yaml:/etc/otel/config.yaml \
  cleanstart/opentelemetry-collector-contrib:latest \
  --config /etc/otel/config.yaml

⁠Production Deployment

Deploy with production security settings

docker run -d \
  --name opentelemetry-collector-contrib-prod \
  --security-opt=no-new-privileges \
  --user 1000:1000 \
  --restart unless-stopped \
  -v /app:/app \
  -v $(pwd)/otel-config.yaml:/etc/otel/config.yaml:ro \
  cleanstart/opentelemetry-collector-contrib:latest \
  --config /etc/otel/config.yaml

Port Forwarding Run with custom port mappings

docker run --name opentelemetry-collector-contrib-prod \
  --security-opt=no-new-privileges \
  --user 1000:1000 \
  --restart unless-stopped \
  -p 4317:4317 \
  -p 4318:4318 \
  -p 8888:8888 \
  -v /app:/app \
  -v $(pwd)/otel-config.yaml:/etc/otel/config.yaml:ro \
  cleanstart/opentelemetry-collector-contrib:latest \
  --config /etc/otel/config.yaml

Why Use CleanStart Images⁠

  • Verified — Built from source with verifiable software provenance
  • Hardened — Minimal software footprint designed for secure deployment
  • Transparent — SBOM available for visibility into image contents
  • Production-ready — Built for modern container environments

Tag summary

Content type

Image

Digest

sha256:d9c20249f…

Size

150.6 MB

Last updated

about 1 hour ago

docker pull cleanstart/opentelemetry-collector-contrib