microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.6k stars 274 forks source link

Containers: Files created in container are created with root in local file system #860

Closed aeschli closed 5 years ago

aeschli commented 5 years ago

image

The problem is that docker runs as root .

https://denibertovic.com/posts/handling-permissions-with-docker-volumes/ has a some ideas

aeschli commented 5 years ago

http://www.inanzzz.com/index.php/post/q1rj/running-docker-container-with-a-non-root-user-and-fixing-shared-volume-permissions-with-dockerfile

chrmarti commented 5 years ago

/duplicate #49

Forgot we already have that, thanks.

vscodebot[bot] commented 5 years ago

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!