Opening a DevPod in Docker on Windows mounts the project folders as root
despite remoteUser
and containerUser
settings.
#1561
Labels
root
despite remoteUser
and containerUser
settings.
#1561
What happened?
When I specify a
remoteUser
andcontainerUser
in mydevcontainer.json
the devpod mounts the project files asroot
Once the project loads, when I
ls
the folder structure is mounted asroot
Actual
What did you expect to happen instead?
I would expect that the files would be owned by the user specified in my devcontainer.json file:
Expected
How can we reproduce the bug? (as minimally and precisely as possible)
You can use my public project on GitHub as an example: https://github.com/ghorsey/OpenGraph-Net
My
devcontainer.json
:Local Environment:
v0.6.9
DevPod Provider:
Anything else we need to know?
If I directly open the devcontainer (not utilizing DevPod) in WSL the folders mount correctly:
If I directly open the devcontainer (not utilizing DevPod) in Windows/Powershell the folders mount correctly:
It appears this problem only occurs when opening the DevPod and not when directly opening the dev container in Windows, or WSL2!
The text was updated successfully, but these errors were encountered: