Closed as not planned
Closed as not planned
Description
See https://containers.dev/implementors/json_reference
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.
Originally posted by @mafredri in #359 (comment)
Metadata
Metadata
Assignees
Labels
No labels