How to changer the path of user-data-dir with docker ? #6164
Replies: 1 comment 1 reply
-
That looks like the `code-server` inside the integrated terminal
which is a different script than the one that launches the
code-server daemon (the one in the terminal is for interacting
with the current code-server and cannot spawn new ones).
The one that launches the daemon does support `--user-data-dir`.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nibazshab
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 use docker to set up code-server. When open the Web IDE,
i found the default folder ( EXPLORER - Folders ) is
/home/coder
, and I can't change it, although theuser
andDOCKER_USER
has been set to rootAnd the IDE data floder is
/root/.local/share/code-server
How should i do can make them be same ? like
the default folder becomeroot
, it eems impossibleor
/home/coder/.local/share/code-server
I can't get like
--user-data-dir
and anyother useful informationBeta Was this translation helpful? Give feedback.
All reactions