devcontainers / devcontainers/cli

Support specifying user via "exec"

Open
#101 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.