Recently, Microsoft announced that all VS Codespaces are migrating to GitHub. At this time, support for self-hosted Codespaces will be removed in favor of GitHub's cloud environments.
If you are looking to host a VS Code server on your own infrastructure, code-server is the solution.
To get started, run our simple install script: (feel free to see what it does first)
curl -fsSL https://code-server.dev/install.sh | sh
Read the guide doc for additional configuration info.
To make moving from Codespaces to code-server even easier, we're working on Cloud - a service providing easy setup, authentication, and access for your code-server instances.