Replies: 2 comments 3 replies
-
Seems like a good question for @code-asher |
Beta Was this translation helpful? Give feedback.
0 replies
-
I believe we keep the home directory as |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a mounted storage whose owner is www-data(33) and this shouldnt be changed.
Thus I want to use code-server with the uid 33.
Should I change the uid of coder (1000) to 33 or can I do something else?
I tried alot of stuff but i keep getting errors.
I tried setting
USER 33
in my Dockerfile. If I do this I keep getting errors when install code-server extensions about permissions i dont have about /var/www or something. Also the user is still called coder ( which would be fine if the uid was 33).Then I tried setting
user: 33:33
in my docker-compose.yml file.This does work to some extent, atleast the fixuid script gets started, but the container crashes after about 1 minute without serving anything on the web nor producing any logs (atleast not the docker container).
I tried setting DOCKER_USER=www-data, but this doesnt change anything. The default home directory is still /home/coder.
I am confused.
How can I be a user with uid 33, while being able to already install some extensions in the Dockerfile?
Thanks for help.
Beta Was this translation helpful? Give feedback.
All reactions