-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Missing arm64 arch in docker manifest causing docker build to error out #10276
Comments
Can you use
|
Following because I also had this issue and ultimately built ol base from scratch. Would be nice if we published arm images but I know that's work. |
@cdrini says this problem may go away once our nginx setup gets rid of openresty (as our docker container approaches can converge and won't need separate profiles) |
Ran these and then attempted to run |
I ended up doing this ^^^ For reference I did the following:
|
Thank you @tomrod10 for struggling through! We'll see if we can improve this workflow moving forward, but for now, since we have two cases where we've gotten it to work, marking as resolved |
We should add it to the setup docs if manual steps are going to be required for anyone on a M1 chip to run OL. |
Problem
Tried setting up/running OL locally via docker and I get the following error when I run
docker compose build
from the root directory:failed to solve: openlibrary/olbase:latest: failed to resolve source metadata for docker.io/openlibrary/olbase:latest: no match for platform in manifest: not found
I'm running into this on my M3 MacBook Air. Additionally, I attempted this on my Linux (Intel chip/amd64 arch) machine and was able to get it up and running without a hitch.
Seems like the docker manifest is missing arm64/linux platform.
Note: I'm still newish to Docker so I have limited knowledge on this area. Regardless, I'm happy to learn more and tackle this if possible. Thanks!
Reproducing the bug
To check docker manifest
~/openlibrary
docker manifest inspect openlibrary/olbase:latest
To repro the issue
~/openlibrary
docker compose build
on the terminalExpected behavior:
Docker build to not error out and successfully build the image
Actual behavior:
Docker build runs into error and exits the build process
Context
Breakdown
Requirements Checklist
Related files
Stakeholders
Instructions for Contributors
The text was updated successfully, but these errors were encountered: