-
Notifications
You must be signed in to change notification settings - Fork 335
Description
Describe the bug
When running supabase start on an Apple M2 chip (macOS), the supabase_vector_library-backend container fails to start with an exec format error. This occurs even when the vector service is explicitly disabled in config.toml.
Environment
Software | Version -- | -- OS | macOS (Apple M2 chip) Supabase CLI | 2.70.5 Docker Desktop | 29.1.3 Node.js | v25.1.0To Reproduce
Initialize a Supabase project:
npx supabase initConfigure
supabase/config.tomlto disable vector storage:[storage.vector] enabled = falseRun
npx supabase startObserve the logs for the vector container.
Expected behavior
The CLI should pull the ARM64 compatible image for the vector service on Apple Silicon.
Alternatively, if
[storage.vector] enabled = falseis set, the CLI should not attempt to pull or start the vector container at all.
Actual behavior
The CLI attempts to start the vector container, which fails with the following logs:
supabase_vector_library-backend container logs:
exec /bin/sh: exec format error
exec /bin/sh: exec format error
...
Stopping containers...
supabase_vector_library-backend container is not ready: unhealthy
Additional context
I have tried
npx supabase stop, removing all containers/volumes, anddocker system prune -a, but the issue persists.The
exec format errorsuggest that an x86_64 image is being pulled instead of an ARM64 one, or the entrypoint script is incompatible.It seems the
enabled = falseflag inconfig.tomlis being ignored for this specific service.