# Supabase local dev with docker possible?

**URL:** <https://forum.builder.io/t/supabase-local-dev-with-docker-possible/15910>\
**Category:** Technical Questions\
**Tags:** nextjs\
**Created:** [November 3, 2025, 2:23pm UTC](https://forum.builder.io/t/supabase-local-dev-with-docker-possible/15910 "2025-11-03T14:23:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GioSegar](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/giosegar/32/5397_2.png) [@GioSegar](https://forum.builder.io/u/GioSegar)\
**Post date:** [November 3, 2025, 2:23pm UTC](https://forum.builder.io/t/supabase-local-dev-with-docker-possible/15910/1 "2025-11-03T14:23:07Z")

</div>

**Builder project link**

> **[Builder.io: Visual Development Platform](https://builder.io/app/projects/cd935826075749e384ec56b81e499aef/)**
>
> Builder is an AI-Powered Visual Development Platform that helps teams generate, iterate, and optimize web and mobile experiences in seconds instead of sprints.

**Builder public api key**  
3a5fe398404e41faab62c5b8c144baea

**What are you trying to accomplish**  
For local development I run Supabase on docker with npx supabase start rather than using a dev branch in the cloud. I set up my project to have docker cli and docker-compose. I tried a variety of different ways to get it running but none worked. I get this error: failed to inspect service: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

I also tried explaining the setup to the AI chat to get it set up but it was saying it’s not possible in the sandbox environment. Just wanted to double check that before giving up.

**Code stack you are integrating Builder with**  
_Next.js, Supabase_

**Reproducible code example**  
_npm install_

npm install --save-dev supabase  
npx supabase start

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [November 4, 2025, 3:20pm UTC](https://forum.builder.io/t/supabase-local-dev-with-docker-possible/15910/2 "2025-11-04T15:20:46Z")

</div>

**Hello @GioSegar,**

Welcome to the [Builder.io](http://Builder.io) forum!

We attempted to reproduce the issue on our end using the same setup and **pnpm** , but were unable to replicate the problem.

For reference, here’s the GitHub repository we used for our testing:

> **[GitHub - Manish-Builder-io/builder-io-supabase-saas-example: builder-io-supabase-saas-example](https://github.com/Manish-Builder-io/builder-io-supabase-saas-example)**
>
> builder-io-supabase-saas-example

* * *

The error you’re encountering:

```auto
failed to inspect service: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

```

indicates that Docker isn’t currently running or accessible to your local environment. The `npx supabase start` command relies on Docker being active, as it uses Docker Compose to spin up the Supabase stack locally.

Here are a few steps to help resolve this:

1. **Check Docker Daemon Status**

2. **Restart Docker**

3. **Check Permissions (Linux only)**

4. **Environment Limitations (for hosted/sandboxed environments)**

* * *

Please let us know if you’re running this setup locally or in a hosted environment, so we can guide you with the next steps accordingly.

Thanks,

---

<div class="post-metadata">

**Author:** ![GioSegar](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/giosegar/32/5397_2.png) [@GioSegar](https://forum.builder.io/u/GioSegar)\
**Post date:** [November 4, 2025, 5:15pm UTC](https://forum.builder.io/t/supabase-local-dev-with-docker-possible/15910/3 "2025-11-04T17:15:06Z")

</div>

I’m talking about in [Builder.io](http://Builder.io)’s environment…

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [November 4, 2025, 6:11pm UTC](https://forum.builder.io/t/supabase-local-dev-with-docker-possible/15910/4 "2025-11-04T18:11:05Z")

</div>

@GioSegar

Could you please share screenshot of the error you are getting?
