Docker image is not compatible with `linux/arm64/v8` platform
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.
@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?
just ran into the same. I had no problems building it on MacOs (using OrbStack)
@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>]...
Last comment doesn't work for me (( Macbook M3, macos Version 15.6, Docker v.4.41.1
% DOCKER_DEFAULT_PLATFORM=linux/amd64; 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
Run 'docker run --help' for more information
okay, I was able to run it with this command )
% docker run --rm --platform linux/amd64 ghcr.io/oss-review-toolkit/ort --help
Unable to find image 'ghcr.io/oss-review-toolkit/ort:latest' locally
latest: Pulling from oss-review-toolkit/ort
5c0ea4a7a695: Download complete
...
but it seems that running this image way may lead to at least poor performance, which is important, besause scanning time is quite long
docker run --platform linux/amd64
docker run --platform linux/amd64
yes, it works, but "Image may have poor performance or fail"