Skip to content

chore: run devcontainer as user vscode instead of root - #3948

Merged
rjsparks merged 1 commit into
ietf-tools:mainfrom
NGPixel:user-devcontainer
May 13, 2022
Merged

chore: run devcontainer as user vscode instead of root#3948
rjsparks merged 1 commit into
ietf-tools:mainfrom
NGPixel:user-devcontainer

Conversation

@NGPixel

@NGPixel NGPixel commented May 11, 2022

Copy link
Copy Markdown
Member

The dev container currently runs as root, which causes file ownership issues when using a linux host.

Docker for Mac and Windows automatically map root to the current user, but not on Linux where new files are created as root.

This PR makes the container run as vscode (the image default user). You can still use sudo if you need root access inside the container.

@NGPixel
NGPixel requested a review from rjsparks May 11, 2022 21:27
@rjsparks
rjsparks merged commit f1472ff into ietf-tools:main May 13, 2022
@NGPixel
NGPixel deleted the user-devcontainer branch May 16, 2022 20:35
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants