You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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 likeit'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.
Expected Behavior
No warning, as an image for
linux/amd64
arch is foundPossible 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.
The text was updated successfully, but these errors were encountered: