opentelemetry-collector
opentelemetry-collector copied to clipboard
Add ocb Docker image
Is your feature request related to a problem? Please describe.
Per open-telemetry/opentelemetry-collector-releases/pull/164, we want to promote usage of the OpenTelemetry Collector Builder so that people build their own distribution with only the components they use.
We currently only provide the binaries on each release (example), but we don't have a Docker image for this, which would ease the use of the builder.
Describe the solution you'd like
Provider a Docker image for the builder.
Describe alternatives you've considered
Do nothing, if we consider this is not going to get usage.
@dmitryax @jpkrohling As far as I could understand, we want to create a Dockerfile & release docker images for the collector builder, can I work on this if this is still relevant?
Sure, I think it would be worth the exercise. I'm not convinced this would work seamlessly for some Linux distributions (like Fedora), as selinux would prevent containers from writing to the host's file system, but I might be wrong.
@jpkrohling that should work using the z or Z mount option like here:
https://github.com/open-telemetry/opentelemetry-go-build-tools/issues/222
I see that we have docker images for the official releases, but I'm thinking it might still be useful to have docker images for custom builds. It seems like there's no way to build a custom collector using the releases distributions Dockerfiles besides the default contrib, k8s, or core configuration. I might be wrong, as I am still trying to dig more into this process.
Hi there, i'd like to create another repository under the "otel" organization on DockerHub, I believe it could be called "otel/opentelemetry-collector-builder" or "otel/ocb"; who has the ability to create this? thanks.
@jackgopack4 I'd guess this would be done through an issue in the community repository but we should discuss what name we want first.
PRs are up: https://github.com/open-telemetry/opentelemetry-collector-releases/pull/671 https://github.com/open-telemetry/opentelemetry-collector/pull/11234 Will appreciate reviews on either or both! I'm still working on a blurb for opentelemetry.io as well under "building a custom collector" but will likely get to it Monday
Hi there, until https://github.com/open-telemetry/opentelemetry-collector-releases/pull/671 is merged into releases, I think this issue should still stay open
Fixed by open-telemetry/opentelemetry-collector-releases/pull/671