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.02k stars 201 forks source link

Supabase start giving "failed to display json stream" error #2328

Closed SeonaidhMorrison closed 3 months ago

SeonaidhMorrison commented 3 months ago

Describe the bug When I try to run supabase start using supabase cli locally, I am met with this error: failed to display json stream: failed to extract layer sha256:{shakey}: failed to get reader from content store: blob sha256:{shakey} expected at /var/lib/desktop-containerd/daemon/io.containerd.content.v1.content/blobs/sha256/{shakey}: blob not found: not found

To Reproduce Steps to reproduce the behavior:

  1. Run supabase init successfully
  2. Set up docker on device
  3. Try to run supabase start as admin

Expected behavior Supabase start works as expected

Screenshots If applicable, add screenshots to help explain your problem.

System information Rerun the failing command with --create-ticket flag.

sweatybridge commented 3 months ago

Could you check that Use containerd ... option is unset in docker settings?

Screenshot 2024-05-28 at 5 57 06 PM

This might be caused by api differences between docker engine and containerd.

SeonaidhMorrison commented 3 months ago

Could you check that Use containerd ... option is unset in docker settings?

Screenshot 2024-05-28 at 5 57 06 PM

This might be caused by api differences between docker engine and containerd.

This worked! Thanks for your help