devcontainers / devcontainers/cli

Question: How to execute the install dotfiles command as root?

Open
#590 1 comment 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

Is there a way to execute the dotfile installation command (default: ./install.sh) as root? (more info #589 about the installation command).

Currently I'm setting the `remoteUser` as root for doing such thing, but I'm wondering if this can be done from the command line. Based on the arguments present in the devcontainer up --help. this is not possible.

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.