supabase / cli

Supabase CLI. Manage postgres migrations, run Supabase locally, deploy edge functions. Postgres backups. Generating types from your database schema.
https://supabase.com/docs/reference/cli/about
MIT License
1.07k stars 209 forks source link

Remove or reset local supabse dev containers #2062

Closed jingsam closed 7 months ago

jingsam commented 7 months ago

Is your feature request related to a problem? Please describe. My installed supabase cli is an old version. I plan upgrade it to the latest version. Also, I want to upgrade my local dev supabase containers. I find that there is no way to achieve this except I do it manually with docker commmand line.

Describe the solution you'd like May like docker-compose down or docker-compose rm: supabase down: Stop and remove all supabse containers, networks supabase rm: Removes all stopped supabse containers

sweatybridge commented 7 months ago

This is already supported with supabase stop --no-backup

Let me know if you find something missing with our upgrade guide https://supabase.com/docs/guides/cli/getting-started#updating-the-supabase-cli