Skip to main content
OpenSandbox enables instant remote development environments with VS Code (code-server), pre-configured toolchains, and isolated workspaces accessible from any browser.

Overview

Remote development environments in OpenSandbox provide:
  • Browser-based VS Code via code-server
  • Pre-configured toolchains (Python, Node.js, Go, Java, etc.)
  • Isolated workspaces for each developer or project
  • Instant provisioning - seconds to start a new environment
  • Resource control - CPU, memory, and storage limits per environment
  • Persistent or ephemeral - choose based on your workflow

Architecture

Quick Start

1. Build or Pull VS Code Image

2. Start OpenSandbox Server

3. Create a Development Environment

View the complete example: examples/vscode/

Features

VS Code Web (code-server)

Full VS Code experience in the browser:
  • Extensions marketplace - Install VS Code extensions
  • Integrated terminal - Full shell access
  • File explorer - Browse and edit files
  • Git integration - Commit, push, pull directly from the UI
  • Debugging - Full debugger support
  • IntelliSense - Code completion and suggestions

Pre-configured Toolchains

The VS Code image includes:

Workspace Persistence

Choose between ephemeral and persistent workspaces:

Ephemeral (Default)

Persistent with Volume Mounts

See: examples/docker-pvc-volume-mount/

Multi-Language Support

Configure Python version at runtime:
Install additional languages on-demand:

Use Cases

Onboarding New Developers

Provide instant, pre-configured development environments:

Coding Interviews

Create isolated environments for technical assessments:

Educational Platforms

Provide students with hands-on coding environments:

CI/CD Pipeline Testing

Test build scripts and deployment configurations:

Development Sandboxes for AI Agents

Provide AI coding agents with full IDE access:

Configuration

Environment Variables

Authentication

Enable code-server authentication:

VS Code Extensions

Install extensions programmatically:

Custom Dockerfile

Extend the base image with your tools:

Security Best Practices

Network Isolation

Restrict network access:

Resource Quotas

Prevent resource abuse:

User Isolation

Run as non-root user (default in opensandbox/vscode):

Audit Logging

Track sandbox usage:

Performance Optimization

Image Caching

Pre-pull images on nodes:

Persistent Volumes

Reuse workspaces to avoid re-cloning:

Background Services

Use background processes for long-running services:

Troubleshooting

code-server Won’t Start

Check logs:

Port Already in Use

Use dynamic ports:

Extension Installation Failed

Check network connectivity and try manual installation:

VS Code Example

Complete VS Code sandbox example

Volume Mounts

Persistent workspace example

AI Coding Agents

AI agents with development environments

Python SDK

SDK reference documentation