devcontainers / devcontainers/cli

Support specifying user via "exec"

Offen
#101 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature-request
Vorherrschende Sprache
TypeScript
Sterne
3k
Forks
457
Ø Merge
13 Std. 17 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.