openvscode-server

1.109.5-ls220deprecated

openvscode-server provides a version of VS Code that runs a server on a remote machine and allows access through a modern web browser.

docker pull lscr.io/linuxserver/openvscode-server:latest

This image is deprecated

It is no longer maintained and receives no further updates. The details below are kept for reference; you can find maintained alternatives in the catalogue.

Quick start

Generated from the image's own configuration. Replace the /path/to folders with real paths on your host.

---
services:
  openvscode-server:
    image: lscr.io/linuxserver/openvscode-server:latest
    container_name: openvscode-server
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - CONNECTION_TOKEN= # optional
      - CONNECTION_SECRET= # optional
      - SUDO_PASSWORD=password # optional
      - SUDO_PASSWORD_HASH= # optional
    volumes:
      - /path/to/openvscode-server/config:/config
    ports:
      - 3000:3000
    restart: unless-stopped

Parameters

Ports
PortFunctionRequired
3000:3000Web UI port.required
Environment variables
VariableFunctionRequired
PUID=1000User IDrequired
PGID=1000Group IDrequired
TZ=Etc/UTCTimezonerequired
CONNECTION_TOKEN=Optional security token for accessing the Web UI (ie. `supersecrettoken`).optional
CONNECTION_SECRET=Optional path to a file inside the container that contains the security token for accessing the Web UI (ie. `/path/to/file`). Overrides `CONNECTION_TOKEN`.optional
SUDO_PASSWORD=passwordIf this optional variable is set, user will have sudo access in the openvscode-server terminal with the specified password.optional
SUDO_PASSWORD_HASH=Optionally set sudo password via hash (takes priority over `SUDO_PASSWORD` var). Format is `$type$salt$hashed`.optional
Volumes
PathFunctionRequired
/configContains all relevant configuration files.required

Architectures

Pulling :latest picks the right one for your host automatically.

  • x86_64amd64-latest
  • arm64arm64v8-latest

Tags

  • :latestStable releases
  • :insidersInsiders releases

Changelog

  1. Rebase to Ubuntu Noble.

  2. Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)

  3. Rebase to jammy, switch to s6v3. Fix chown logic to skip `/config/workspace` contents.

Related

Browse all

github-desktop

release-3.4.13-linux1-ls224

Github Desktop is an open source Electron-based GitHub app. It is written in TypeScript and uses React.

5.9M pulls per month31 GitHub starsarm64

code-server

4.141.0-ls371

code-server is VS Code running on a remote server, accessible through the browser. - Code on your Chromebook, tablet, and laptop with a consistent dev environment. - If you have a Windows or Mac workstation, more easily develop for Linux. - Take advantage of large cloud servers to speed up tests, compilations, downloads, and more. - Preserve battery life when you're on the go. - All intensive computation runs on your server. - You're no longer running excess instances of Chrome.

2.1M pulls per month2K GitHub starsarm64

vscode

1.142.0-ls30

VS Code is an integrated development environment developed by Microsoft. This container runs the full desktop application, for a web native version see Code Server.

21.3K pulls per month4 GitHub starsarm64

vscodium

1.140.06880-ls294

VSCodium is a community-driven, freely-licensed binary distribution of Microsoft’s editor VS Code.

21K pulls per month77 GitHub starsarm64