-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
Postgrest docker image doesn't work on Apple M1 #33
Comments
Not related to RAM. The upstream docker container for PostgREST doesn't work for ARM(M1 architecture) on MacOS yet. There's a workaround here though: PostgREST/postgrest#1785 (comment). It uses an Ubuntu build for ARM as the docker image. |
@steve-chavez it actually works on M1 (over qemu), though as @goldcoders said I had to increase Docker's RAM to 4GB for it to work. Not sure if we should document this here though, as it's tangential to the CLI... |
Just as a reference, I'm experiencing the same issue locally on Apple M1 (discussed here). I tried to push Docker's RAM to 4GB but it still keeps restarting. |
Ah it did work when I pushed the Swap to 4GB instead of 1. |
For the record, keeping this issue open until PostgREST has a stable arm64 image - hopefully Docker's 2GB default is enough by then. |
@soedirgo Can we close this one? (Not sure if the CLI needs updating or it will just pick up the |
Yeah will close this once I update the image version in the CLI 👍 |
PostgREST 9 is now available in v0.15.6 👍 |
Postgrest Keeps Restarting
Describe the bug
Container of Postgres keeps restarting....
I tried several times, if somethings wrong...
if im running out of ram or not...
So Thats What I did I try to Bump the Ram and Swap
Default Docker Set Up
4 CPU
Memory 2GB
Swap 1 GB
Working Docker Set UP
4 CPU
Memory 4GB
Swap 4 GB
then enables Experimental Features
Use new Virtualization Framework
This Resolves the ISSUE
System information
To Reproduce
Docker Default Set Up
4 CPU
Memory 2GB
Swap 1 GB
Fresh Install Docker
supabase init
supabase start
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: