Change home directory in the code-server image?

Hey !

All of the data (config + ssh + extensions + workspace) are added into /config. To have remote development in docker with siblings container, I need to make sure the parent and the container have the same mapping for /config a per [1]. Unfortunately, I run this on Synology, where /config is already reserved…

How can I change everything so all the data from code-server is not added into /config? Everything I’ve tried, changing ENV HOME, usermod etc… hasn’t yielded anything…

Cheers!

[1] https://github.com/cdr/code-server/blob/master/doc/FAQ.md#docker-in-code-server-container

You can’t change it.
Just add another volume bind for files you want available in code-server.

I’m not sure why you are linking to code-servers repo?