Secure by Design, Built for Speed, Hardened Container Images on a minimal base CleanStart OS.
50K+
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
Download the container image from the registry
docker pull cleanstart/opentelemetry-collector-contrib:latest
docker pull cleanstart/opentelemetry-collector-contrib:latest-dev
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]
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
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
Content type
Image
Digest
sha256:d9c20249f…
Size
150.6 MB
Last updated
about 1 hour ago
docker pull cleanstart/opentelemetry-collector-contrib