Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I have been looking for a while on ways to have multiple code-servers running at the same time. It would really be a hassle to have to have a different VM for each code-server instance. As far as I can tell, running code-server always uses port 8080. I read somewhere that if you wanted to have different team members, you would need multiple instances. How would I start another instance of code-server on a different port?

You must be logged in to vote

Replies: 3 comments · 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by dylan-meiners
Comment options

@dylan-meiners curious how you ended up doing this. I have been using containers and am thinking of setting up a minikube cluster to give some friends their own web dev environments :)

You must be logged in to vote
2 replies
@dylan-meiners
Comment options

My current plan is to setup a server with multiple Docker instances running the official code-server image for them. I will let you know how it goes. This would work because I could direct certain ports from outside to the correct Docker image's port 8080.

@dylan-meiners
Comment options

I found this that might help you too.

Comment options

I will leave this thread open, in case someone else has any solutions that they used, as there are many to choose from.

So far, the list is

  • Running multiple servers directly, but specifying a different port for each @code-asher
  • Running Docker containers with the code-server image @rafket here
  • Running Minikubes with a code-server instance on each @bpmct
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.