Documentación offline Docker main
por @raupulus

Connect Cursor to a sandbox

main Documentación oficial Licencia Apache-2.0Descargado el 2026-09-15 Bundle .md (6.1 MB) ↓

En esta página

{{< summary-bar feature_name="Docker Sandboxes SSH" >}}

Cursor is built on VS Code, so it connects to a sandbox the same way, using Remote - SSH. Your editor stays on your host while files, terminals, and extensions run in the isolated sandbox.

[!NOTE] This page covers the Cursor editor connecting to a sandbox over SSH. To run the Cursor agent CLI inside a sandbox instead, see Cursor agent.

Prerequisites#

Connect#

Confirm that you can connect to the sandbox from a terminal:

$ ssh demo.sbx
  1. Open the Command Palette and run Remote-SSH: Connect to Host.
  2. Enter the sandbox host manually as <name>.sbx.
  3. Cursor opens a new window connected to the sandbox. Use the remote folder picker to select the mounted workspace.

Notes#

  • The first connection installs the editor server inside the sandbox, so it can take a moment. Later connections are faster.