-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running Custom Otel Collector causing Exec format error #790
Comments
Hey there, @FoxeyesJK! 👋 I'm here to help you out with your otel custom collector issue. I'm a bot that can help you solve bugs, answer questions, and become a contributor. Let's figure this out together! The "Exec format error" you're encountering is likely due to the binary being built for a different architecture than the one your Docker image is running on. This can happen if the binary is not statically linked or if it requires libraries that are not present in the Alpine Linux base image. Here are a few steps you can take to resolve this issue:
By following these steps, you should be able to resolve the "Exec format error" and successfully run your custom OpenTelemetry Collector Docker image. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Why are you using |
any exec format error relates to cross compilation issues. Make sure you compile for the right platform and create flavors of the collector matching the platform. Going to close this issue as not planned as you are working with a custom build, and we cannot help you from the point of working with our releases. |
Hi, I'm new to otel and trying to build a custom collector running our own docker image.
I've been reading the official documentation, and achieved following so far
I'm stuck here running the docker container with what I have below. Any suggestion I can try?
docker run -it --entrypoint sh custom-collector:0.1.8
Dockerfile
config.yaml
manifest.yaml
The text was updated successfully, but these errors were encountered: