a Docker image for VS Code Server
The Visual Studio Code Server is a service you can run on a remote development machine, like your desktop PC or a virtual machine (VM). It allows you to securely connect to that remote machine from anywhere through a vscode.dev URL, without the requirement of SSH.
This is simply a containerized version of the VS Code Server.
Learn more on the official documentation
- Runs entirely locally, without needing
vscode.dev
- TODO: pending resolution of issue #7018 to support
vscode.dev
- TODO: pending resolution of issue #7018 to support
- Persistent secrets (requirement for Settings Sync)
docker run --rm \
--name vscode-server \
--hostname vscode \
-p 8000:8000 \
-e VSCODE_KEYRING_PASS="mysecretpassword" \
-e VSCODE_SERVE_MODE=serve-local \
-v /<host_folder_data>:/root/.vscode-server \
ahmadnassri/vscode-server:latest
Optionally, you can specify an init script that could be used to install additional software adding the following mount:
-v /<init_script_path>:/usr/local/bin/init
Author: Ahmad Nassri • Twitter: @AhmadNassri