Skip to content
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

Docker Compose up -d fails to launch clickhouse reporter due to image platform mismatch #1

Open
jorgalad opened this issue Oct 25, 2024 · 1 comment

Comments

@jorgalad
Copy link

When running docker-compose up -d to launch the clickhouse reporter, the following error occurred:

! gitlab-exporter-clickhouse-recorder-migrate The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
! gitlab-exporter-clickhouse-recorder The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
! gitlab-exporter The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
dependency failed to start: container clickhouse exited (126)
It appears that the requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8), and no specific platform was requested. This is preventing the clickhouse reporter container from starting.

Steps to reproduce:

Run docker-compose up -d to launch the clickhouse reporter.

Expected result:
Clickhouse reporter container starts successfully.

Actual result:
Clickhouse reporter container fails to start due to image platform mismatch.

Additional information:

Docker version: 4.29
Docker Compose version: v2.26.1
Operating system: MacOS 14.4 (Sonoma)

@cluttrdev
Copy link
Owner

Hi, yeah I've only built linux/amd64 container images for now.
Can you try adding

platform: linux/amd64

to the docker-compose.yaml?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants