Coder.comC
Coder.com3y ago
1 reply
mle

change HOME directory for root user, stop Coder root overwrite

I have some packages installed in the root directory in my image, and I want to import this image and run Coder as “root” user. When I import this image to coder, Coder overwrites the root folder and creates config files here.How to avoid doing this ?
I tried setting HOME to a different location using ENV HOME=location2 and manually editing the etc/passwd file.
I don’t want to switch to a different user
Was this page helpful?