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

Latest public image postgis/postgis produces warning on macOS ARM #387

Open
rquinlivan opened this issue Jul 24, 2024 · 1 comment
Open

Comments

@rquinlivan
Copy link

I am running this image on macOS ARM (Apple Silicon) with Docker Desktop.

I see the following error when running this image on my hardware:

 The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 

The image does appear to work, but I'm wondering if there is a way to fix the image so that it doesn't produce this warning on the macOS ARM platform.

@ImreSamu
Copy link
Member

Thank you for your feedback.

Currently, the supported architecture for this image is amd64 (also known as x86-64).
This might be causing the warning you encountered.
You can try running the image with the following command to suppress the warning (although this hasn't been tested):

docker run --platform linux/amd64 <image_name>

For more information on the missing ARM64 image, please refer to this

Additionally, a new test postgis docker images with ARM64 support is available:

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