Skip to content

Change the workspace folder that code-server opens on start up #3101

Answered by bpmct
simonjcarr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Simon, just responded on Slack, too. Feel free to respond on either if you have questions :)

When running with Docker in particular, you can mount different local directories to the /home/coder folder which code-server would open by default :) Here's an example of the docker run command: https://github.com/cdr/code-server/blob/main/docs/install.md#docker

You can also do a similar thing with our Helm chart if you want to run code-server in kubernetes: https://github.com/cdr/code-server/tree/main/ci/helm-chart

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bpmct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants