devcontainers / devcontainers/cli

Support specifying user via "exec"

未关闭
#101 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature-request
主要语言
TypeScript
星标
3k
派生
457
平均合并
13 小时 17 分钟
30 天内合并 PR
6

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。