You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overrides the user that devcontainer.json supporting services tools / runs as in the container (along with sub-processes like terminals, tasks, or debugging). Does not change the user the container as a whole runs as which can be set using containerUser. Defaults to the user the container as a whole is running as (often root).
(Emphasis mine.)
In envbuilders case the disctinction may be a bit blurry, but since envbuilder does execve(2) and replaces pid 1 (usually), I take that to be "the user the container as a whole runs as".
Review: Didn't want to change this logic now, but documenting it for posterity.
See https://containers.dev/implementors/json_reference
(Emphasis mine.)
In envbuilders case the disctinction may be a bit blurry, but since envbuilder does
execve(2)
and replaces pid 1 (usually), I take that to be "the user the container as a whole runs as".Originally posted by @mafredri in #359 (comment)
The text was updated successfully, but these errors were encountered: