DEV Community

Vincent Lam
Vincent Lam

Posted on

How to Self-Host a VS code server

Hi guys,

So I want to host a code-server(vs code) and exposes a port for me to access the machine on the browser over the internet.

I’m wondering how to do that?

Should I run a Docker image with nginx?

Please explain to me like I’m 5.

Will tip if you give me your eth address

Top comments (1)

Collapse
 
naveennamani profile image
naveennamani • Edited

vs code has a website vscode.dev which is a browser version of vscode. However I didn't find anywhere on how to self host it. But I assume what you want is a service like gitpod. Fortunately, you can self host gitpod in GCE, AWS, Azure etc.

gitpod.io/self-hosted

Currently, the documentation page for self hosting instructions is showing error. So open the below links directly

gitpod.io/docs/self-hosted/latest
gitpod.io/docs/self-hosted/latest/...

Note: gitpod is a kubernetes application so you need to have some experience with that and also a web domain

But if you simply want to access your vs code in your own pc in another pc browser I don't know any possibilities as of now. There may be some extensions i hope.