devcontainers / devcontainers/cli
Support specifying user via "exec"
Open
feature-request
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 457
- Avg merge
- 13h 17m
- Merged PRs (30d)
- 6
Description
Currently the dev container CLI `exec` command runs as the `remoteUser` specified in the dev container metadata. While this makes sense as a default, implementers will also need to perform certain actions as `root` like installing dependencies for injected tools.
I would propose a `--user` flag to allow you to temporarily set this.
Contributor guide
Assessment
This issue has not been assessed yet.