microsoft / microsoft/vscode-remote-release
[New feature] Abilities to set the remoteUser globally.
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Hello,
Following https://github.com/microsoft/vscode-remote-release/issues/1155, remoteUser must be set for each project in the .json file of the container.
As I think this is a pretty common problem because of the nature of the subject:
- docker is mean to run service, so "docker exec" (without --user argurment) log as the service user (could be nginx, httpd, php, etc...)
- vscode is mean to edit files on the container (usually a specific data user)
Both are clearly not the same user very often, so the remoteUser is really very important.
When working with container, it means, each project need to have the container attached to vscode. This means for each project editing the .json file...
It lead us to the point of this issue ; ) Being able to set this user globally. In a corporate environment handling many project container are "formated" so each project have the same forms (at least at the permission level).
So handling this remoteUser settings directly on the vscode remote-container config seems a good things.
Purpose of this issue is adding the remoteUser parameter in the vscode settings.json so:

For the record, in our digital agency, we get a container for each project and having this settings will greatly simplify the use. Just to click Connect to Container and all will be ok.
Thanks for reading me.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing how remoteUser is currently specified in each container's .json configuration and how the proposed settings.json location would be read. Check the existing issue discussion for constraints around applying a global value. Done means a remoteUser setting in VS Code settings.json is applied when connecting to containers without requiring each project configuration to repeat it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100