Skip to content

supabase start reports "already running" when all local containers are stopped #5917

Description

@marty-mkh

After updating Docker Desktop on Windows to 4.81.0, my local Supabase containers no longer start automatically when Docker starts.

Running:

npx supabase start

returns:

supabase start is already running.
supabase_db_<project> container is not running: exited

The CLI refuses to start the existing containers because it considers the project "already running", even though every container is in the Exited state.

Expected behavior

After Docker Desktop starts, an existing local Supabase stack should either resume automatically (as it did previously) or supabase start should detect that the containers exist but are stopped and start them instead of reporting that the project is already running.

Actual behavior

All containers exist but are stopped:

docker ps -a

shows all supabase_* containers in Exited state.

The following works correctly:

docker start $(docker ps -aq --filter "name=supabase_")

and also:

npx supabase stop
npx supabase start

This suggests the containers are healthy and only the CLI's detection/recovery logic is failing.

Environment

  • OS: Windows
  • Docker Desktop: 4.81.0
  • Supabase CLI: 2.109.1

Additional information

The database container exits with status 137 after Docker Desktop shuts down, but can be started manually without errors:

docker start supabase_db_<project>

The issue appears to be that supabase start detects an existing project but does not attempt to restart stopped containers.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions