Replies: 1 comment
-
Thanks for opening. The spec defines
And as specified in https://containers.dev/implementors/json_reference/#remoteUser:
I think setting |
Beta Was this translation helpful? Give feedback.
-
Thanks for opening. The spec defines
And as specified in https://containers.dev/implementors/json_reference/#remoteUser:
I think setting |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to use some linuxserver images (lscr.io/linuxserver/code-server:latest) as devcontainers. These images are configured to use user 'abc' as the application user, and /config as the user's home dir.
When I don't set the 'containerUser' property in my devcontainers spec, the /config directory is properly owned by the 'abc' user, but when I specify the 'containerUser' as 'abc' the /config dir ownership is changed to root and the user cannot create/modify any files.
Is this the right user of the containerUser property? Any idea what would be changing the permission, or creating the home directory with the root user?
I am trying to set this property such that I can install some features (Java and some custom build ones) that will be aware of the application user.
Beta Was this translation helpful? Give feedback.
All reactions