Repository navigation
fix(cli): start the native stack in rootless containers (CLI-3188) - #7759
Merged
7ttp merged 4 commits intoNov 24, 2026
Merged
Conversation
Contributor
CLI benchmark (Lightweight Commands): no changes foundCommit
API calls: unchanged for all 9 commands. Binary size: 135.6 MB, unchanged. Details: timing ranges, API calls per command, slowest phasesTiming ranges
API calls per command
Slowest phasesNo command moved beyond noise, so there are no phase deltas. Comment |
7ttp
marked this pull request as draft
November 23, 2026 13:43
jgoux
approved these changes
Nov 23, 2026
7ttp
marked this pull request as ready for review
November 23, 2026 14:55
7ttp
deleted the
7ttp/cli-3188-native-runtime-root-refuses-a-sticky-world
branch
November 24, 2026 07:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
supabase start --runtime nativeworks again in rootless podman and distrobox containers that share the host's/tmpwhats missing?
inside those containers host root is unmapped, so
/tmpshows up as uid 65534 and the native stack only trusted a/tmpowned by uid 0, failing every start with/tmp belongs to uid 65534, not the current usernow fixed by:
inside a user namespace the native stack also trusts a
/tmpowned by 65534, the overflow uid it shows for host root, while a 65534 owned/tmpoutside one and any/tmp/supabase-<uid>that is not ours and private are still refusedref: