Skip to content

I have a derived image that works with 0.9 but it crashes from 0.10 to the latest due to "exec format error" #486

Closed Answered by burningalchemist
ignlg asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ignlg, what is the platform you're running your script on? Does the native sql_exporter image work for you?

Thinking a bit more, since v0.10 sql_exporter is using Dockerfile.multi-arch file for building images (to support linux/amd64 and linux/arm64 platforms), so it might be that you need to keep in mind the platform-specific parameters and build your image accordingly with passing these.

TL;DR: sql_exporter binary from the original image might be unsupported by the destination image platform/os. The best way to find this out is to extract the binary, and check info with file sql_exporter to get the binary headers.

References:

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ignlg
Comment options

@burningalchemist
Comment options

@ignlg
Comment options

@burningalchemist
Comment options

Answer selected by burningalchemist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants