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

Enable Docker images for linux/arm64 #2312

Closed
rngtng opened this issue Jun 20, 2023 · 2 comments
Closed

Enable Docker images for linux/arm64 #2312

rngtng opened this issue Jun 20, 2023 · 2 comments

Comments

@rngtng
Copy link

rngtng commented Jun 20, 2023

Context

I figured the prism docker images are only available for linux/amd64 architectures. As of this running prism on Apple silicon machines is virtualized with reduced performance. I successfully build an arm64 image locally w/o any modification, so it looks like
it's 'just' a matter of enabling it.

Current Behavior

Running the latest docker image produces the warning, indicating that an amd64 arch image is used, so performance will be reduced due to virtualization.

$ docker run stoplight/prism
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Expected Behavior

No warning, as an image for linux/amd64 arch is found

Possible Solution(s)

Make use of docker buildx to enable multi arch build. Alternatively build the arm image explicit. https://www.docker.com/blog/multi-arch-images/

Let me know how you build and push to docker hub. Happy to advice you further.

@chohmann
Copy link
Contributor

Duplicate of #1966. Closing.

@chohmann chohmann closed this as not planned Won't fix, can't repro, duplicate, stale Jun 23, 2023
@rngtng
Copy link
Author

rngtng commented Jun 23, 2023

@chohmann oh ups - Sorry I didn’t saw the original issue. My bad

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