
Deploy OpenVSCode Server on Your Own Server
A version of VS Code that runs a server on a remote machine and allows access through a modern web browser.
Want to deploy OpenVSCode Server on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is OpenVSCode Server?
OpenVSCode Server provides a version of VS Code that runs a server on a remote machine and allows access through a modern web browser. It's based on the very same architecture used by Gitpod or GitHub Codespaces at scale.
Self-Host OpenVSCode Server
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
General
Deploy
Copy the configuration and run it on your server.
services:
openvscode_server:
image: lscr.io/linuxserver/openvscode-server:1.74.3
environment:
CONNECTION_SECRET: ""
CONNECTION_TOKEN: 7ccc4e77de9625fa
PGID: "1000"
PUID: "1000"
SUDO_PASSWORD: ""
SUDO_PASSWORD_HASH: ""
TZ: UTC
volumes:
- openvscode_server-config:/config
volumes:
openvscode_server-config: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:3000
Why Self-Host OpenVSCode Server?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Docker Image
lscr.io/linuxserver/openvscode-server:${openvscode_server_version}Want to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"