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 image is not compatible with linux/arm64/v8 platform #9750

Open
yegor256 opened this issue Jan 15, 2025 · 3 comments
Open

Docker image is not compatible with linux/arm64/v8 platform #9750

yegor256 opened this issue Jan 15, 2025 · 3 comments
Labels
bug Issues that are considered to be bugs docker About Docker topics needs info An issue where further information is required

Comments

@yegor256
Copy link

I'm trying to run Docker container, on MacBook M2:

$ docker run --rm ghcr.io/oss-review-toolkit/ort --help
Unable to find image 'ghcr.io/oss-review-toolkit/ort:latest' locally
docker: Error response from daemon: no matching manifest for linux/arm64/v8 in the manifest list entries: no match for platform in manifest: not found.
See 'docker run --help'.

Probably, the docker image must be built for all platforms.

@yegor256 yegor256 added bug Issues that are considered to be bugs to triage Issues that need triaging labels Jan 15, 2025
@sschuberth
Copy link
Member

@MarcelBochtler what's the latest status here, I believe you got it running?

Also @hendrikebbers recently told me that he got it working, but apparently we miss to publish ARM Docker images. Can you please remind me?

@sschuberth sschuberth added needs info An issue where further information is required docker About Docker topics and removed to triage Issues that need triaging labels Jan 15, 2025
@StephenKing
Copy link

just ran into the same. I had no problems building it on MacOs (using OrbStack)

@MarcelBochtler
Copy link
Member

@yegor256 you can force the compatibility layer:

❯ DOCKER_DEFAULT_PLATFORM=linux/amd64; docker run --rm ghcr.io/oss-review-toolkit/ort --help
Usage: ort [<options>] <command> [<args>]...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that are considered to be bugs docker About Docker topics needs info An issue where further information is required
Projects
None yet
Development

No branches or pull requests

4 participants