Can I share a code-server instance for multiple, isolated users? #5761
Replies: 3 comments 9 replies
-
Have you checked out coder/coder? That was built with this kind of use case in mind except that each user has their own workspace, which could include code-server. Link to docs on Kubernetes installation. |
Beta Was this translation helpful? Give feedback.
-
For me, I and another 3 users share a machine so we installed code-server on it, create for each user a Linux account and made a simple python script that when they access the API, it will run code-server on each member's Linux account. This way the user is restricted by default to their home directory and can still use code-server. If you need the code I can push it to GitHub. |
Beta Was this translation helpful? Give feedback.
-
we try to build similar structure, (cloud developer suite for internal use) all developer join in a dashboard, on this dashboard he can see the list of task for project and list of project - for every project-user we run a single docker with password in autologin and file of the project repository - every developer have more docker, (1 project = 1 docker ) if 2 developer work on same project we use 2 docker - we have a Nginx reverse proxy for generate a subdomain like -> developer-username-project-name.companyname.com - we have edited the login page - if you try to open directly the url, you get a redirect from company login system, if you have the rigth session you can use this code-space. Now we try to make other customization to code-space (visual studio code web) for branding and custom link to developer internal resource, like snippet, internal wiki with best pratices, tutorial etc.. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
We want to use VSCode in the browser to provide users a familiar IDE feeling when they make changes in our application. To save on costs and provisioning time our naive solution would involve a set of dockerized code-server containers behind a load balancer on kubernetes that all users access.
Now my main question is: Can I enforce any isolation between the individual sessions if they use the same underlying host? If two users Alice and Bob use the instance at the same time, what information from Alice could Bob read?
This goes into the direction of this comment, but the conversation was quickly dropped without a satisfactory reply.
Beta Was this translation helpful? Give feedback.
All reactions