supabase: It wont start on macos with docker compose
Bug report
When I run the docker compose up -d docker will initialize all the images but it will fail to run.
specially meta and studio.
then on the browser I will get
{
"message": "name resolution failed"
}
meta docker log
2024-01-10 22:27:43 (node:19) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
2024-01-10 22:27:43 Segmentation fault
2024-01-10 22:27:56 Segmentation fault
2024-01-10 22:28:22 Segmentation fault
2024-01-10 22:29:14 (node:19) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
2024-01-10 22:29:14 (Use `node --trace-warnings ...` to show where the warning was created)
2024-01-10 22:29:14 Segmentation fault
2024-01-10 22:30:14 Segmentation fault
2024-01-10 22:27:56 > node dist/server/server.js
studio docker log
2024-01-10 22:28:24 ✓ Ready in 253ms
2024-01-10 22:29:16 ▲ Next.js 13.5.3
2024-01-10 22:29:16 - Local: http://a0924904c358:3000
2024-01-10 22:29:16 - Network: http://172.21.0.11:3000
2024-01-10 22:29:16
2024-01-10 22:29:16 ✓ Ready in 253ms
2024-01-10 22:30:17 ▲ Next.js 13.5.3
2024-01-10 22:30:17 - Local: http://a0924904c358:3000
2024-01-10 22:30:17 - Network: http://172.21.0.11:3000
2024-01-10 22:30:17
2024-01-10 22:30:17 ✓ Ready in 350ms
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
Won’t run with initial setup
To Reproduce
# Get the code
git clone --depth 1 https://github.com/supabase/supabase
# Go to the docker folder
cd supabase/docker
# Copy the fake env vars
cp .env.example .env
# Pull the latest images
docker compose pull
# Start the services (in detached mode)
docker compose up -d
Expected behavior
Able to see the landing page with localhost:8000
Screenshots
If applicable, add screenshots to help explain your problem.
System information
- OS: macOS 12.6
- Browser (if applies) [e.g. chrome, safari]
- Version of supabase-js: latest from the repo - (package.json was never updated “version”: “0.0.0”,)
- Version of Node.js: using docker.
Additional context
I am using docker desktop version 4.26.1 (131620) Using virtualization framework with gRPC FUSE(got this from one of git issue tread)
About this issue
- Original URL
- State: closed
- Created 6 months ago
- Reactions: 2
- Comments: 19 (6 by maintainers)
actually I was wrong even on ubuntu I am getting
supabase-studio supabase/studio:20240101-8e4a094 “docker-entrypoint.s…” studio 8 minutes ago Up 8 minutes (unhealthy)
Also when I do able to see the UI and create a schema I get an error
similar to add an user
I am running this under proxmox ubuntu VM with sse4_2 enabled.
incase you need this info
thanks @encima Got it working by turning off the virtualization framework.
Confirmed. I’m facing the exact same problem.
It’s a fresh install, and here’s what I’m getting when I run
supabase start
I’m using Mac OS Sonoma 14.1
This was my first time installing it, but I will give it a try again.