© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
10 replies
ItsWendell

supabase gen types - No such container [docker]

I'm attempting to generate typescript types but it seems like the docker container needed for this keeps crashing, here's what is happening:

-
pnpm supabase gen types typescript --local --schema public > ./types/supabase.ts
pnpm supabase gen types typescript --local --schema public > ./types/supabase.ts


Output:
-
Error: Error: No such container: 510f416b1a2b5aeeef0a445923472d2b2a8fb5a5814a37c44dd0107b03bacf2e
Error: Error: No such container: 510f416b1a2b5aeeef0a445923472d2b2a8fb5a5814a37c44dd0107b03bacf2e


I debugged this by watching what is happening, it seems like that the container that
gen types typescript
gen types typescript
starts up (postgres-meta) is killed and deleted within mere seconds.

I used
watch docker ps
watch docker ps
, ran the typegen command, quickly made a screenshot once it appeared, and it disappeared after a second. That exact same container that I made a screenshot off, is the container is displayed in the
gen types typescript
gen types typescript
command error.

I can't seem to get the logs of it after either, since I get, again
No such container
No such container
if I try
docker logs 510f416b1a2b5aeeef0a445923472d2b2a8fb5a5814a37c44dd0107b03bacf2e
docker logs 510f416b1a2b5aeeef0a445923472d2b2a8fb5a5814a37c44dd0107b03bacf2e
.

See screenshot in comments.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,729Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Supabase gen types
SupabaseSSupabase / help-and-questions
7mo ago
Supabase gen types fails
SupabaseSSupabase / help-and-questions
4y ago
npx supabase gen types typescript broke
SupabaseSSupabase / help-and-questions
4mo ago
supabase gen type typescript error running container
SupabaseSSupabase / help-and-questions
4y ago