Skip to main content
Run VS Code in a disposable microVM when you want an editable Linux workspace without installing its tools or extensions on the host. The project is copied into the sandbox, so edits stay isolated until you explicitly copy them back.

Use the editor

1

Start the editor

The host port is bound to 127.0.0.1, so the unauthenticated editor is reachable only from the local machine.
2

Add a project

Replace ./my-project with the directory you want to edit:
Open http://127.0.0.1:8080. The editor, terminal, extensions, and project commands all run inside the microVM.
Keep the host bind on 127.0.0.1. Do not expose an editor with --auth none to a LAN or public interface.
3

Check the service

A healthy server responds with an HTTP status line, usually a redirect into the workspace.
4

Copy changes back

Export the edited project into a new host directory:
Review code-server-output before merging its changes into the original checkout.
5

Clean up

Reference