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

Silicon chip macs not compatible with current baseos build #11

Closed
glemieux opened this issue Aug 26, 2024 · 6 comments
Closed

Silicon chip macs not compatible with current baseos build #11

glemieux opened this issue Aug 26, 2024 · 6 comments

Comments

@glemieux
Copy link
Collaborator

glemieux commented Aug 26, 2024

  1. I am on a Mac M3 - Sonoma 14.3
    When I rerun "docker compose up -d" I no longer get the error message above, I get a new error (image below) with the error message: 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
    image

Originally posted by @colettembrown in NGEET/fates-tutorial#37 (reply in thread)

@glemieux
Copy link
Collaborator Author

Reference for building multi-platform images: https://docs.docker.com/build/building/multi-platform/

@glemieux
Copy link
Collaborator Author

Tagging @annaspiers as she ran into the same issue.

@glemieux glemieux transferred this issue from NGEET/fates-tutorial Aug 26, 2024
@glemieux
Copy link
Collaborator Author

FYI @colettembrown, I may have a fix for this soon. I'm borrowing an Apple silicon macbook tomorrow to rebuild the images for that architecture.

@glemieux
Copy link
Collaborator Author

New baseos mage built successfully. Rebuilding all images for the arm64 architecture.

Note for posterity: I had to use the "hard way" of building a manifest for docker hub to make sure that it will automatically download the correct image by architecture: https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/

@annaspiers
Copy link

I pulled the updated development branch of fates-tutorial and ran docker compose up -d successfully. Nice!
Screenshot 2024-08-28 at 11 15 54 AM

@glemieux
Copy link
Collaborator Author

glemieux commented Aug 29, 2024

I've built arm64 versions of the docker images using a loaned M1 macbook. For future development this should be handled by an online build process (e.g. docker cloud or github actions). See #13

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

5 participants
@glemieux @annaspiers and others