TL;DR

A new open-source platform allows teams to self-host multiple isolated development sandboxes with automatic preview URLs, using Docker and Go. It supports scalable, cost-efficient AI app-building environments without Kubernetes.

An open-source platform now makes it possible to run multiple isolated development sandboxes with live preview URLs on a single server, using Docker and Go, without Kubernetes. This development simplifies infrastructure for teams building AI app-builders, coding playgrounds, and multi-user preview environments, providing a cost-effective, scalable solution.

The platform, called ‘sandboxed’, is designed for teams managing many user environments, offering isolated Linux containers that run code, AI agents, and live previews accessible via shareable URLs. It is self-hosted, open-source, and requires only Docker and a Linux host, with no need for Kubernetes or complex infrastructure.

Sandboxed uses a single Go program to orchestrate Docker containers, Traefik for URL routing, and SQLite for persistent storage. Containers are designed to sleep when idle, waking instantly upon request, which optimizes resource use and cost. The system supports features like per-user preview URLs, TLS, and agent orchestration, making it suitable for scalable AI app development and multi-tenant platforms.

Why It Matters

This development matters because it provides a practical, self-hosted alternative to cloud-based or cluster-dependent sandbox environments. It enables smaller teams and organizations to deploy scalable, isolated development environments without vendor lock-in or expensive infrastructure, fostering innovation and productivity in AI app-building and collaborative coding.

The Ultimate Docker Container Book: Build, ship, deploy, and scale containerized applications with Docker, Kubernetes, and the cloud

The Ultimate Docker Container Book: Build, ship, deploy, and scale containerized applications with Docker, Kubernetes, and the cloud

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

Existing solutions for isolated development environments often rely on Kubernetes or cloud services, which can be complex and costly for smaller teams. The ‘sandboxed’ project simplifies this by leveraging Docker and a minimal control plane, allowing quick deployment and management of multiple sandboxes. It builds on prior tools like Replit and Bolt but emphasizes self-hosting, cost control, and simplicity.

“Sandboxed is designed to be simple, scalable, and self-hosted, giving teams control over their development environments without the complexity of Kubernetes.”

— Project maintainer

“By using Docker and a lightweight control plane, sandboxed enables many sandboxes to run efficiently on a single server, reducing costs and infrastructure overhead.”

— Open-source contributor

Executive Sandbox - Beach Themed Zen Garden - Desktop Stress Relieving Office Decor - Includes 8” x 10” Hardwood Sandbox, 8 Seaside Accessories, and Ultra-Fine Sand

Executive Sandbox – Beach Themed Zen Garden – Desktop Stress Relieving Office Decor – Includes 8” x 10” Hardwood Sandbox, 8 Seaside Accessories, and Ultra-Fine Sand

Instantly transport yourself to the beach with this idyllic zen garden

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What Remains Unclear

It is not yet clear how well the platform performs under heavy load or in production environments with many simultaneous users. Long-term stability, security considerations, and integration with existing CI/CD pipelines remain to be tested at scale.

Amazon

live preview URL tools

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

Developers and teams are expected to experiment with deploying sandboxed in various environments, contribute to its development, and potentially extend its features. Future updates may include Kubernetes support, enhanced agent capabilities, and broader documentation for production use.

Cloud Native Go: Building Reliable Services in Unreliable Environments

Cloud Native Go: Building Reliable Services in Unreliable Environments

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

Can I run sandboxed on my existing infrastructure?

Yes, it requires only Docker Engine on a Linux host. No additional cluster or cloud services are needed.

Is sandboxed suitable for production use?

While designed for scalability and cost-efficiency, its stability and security in large-scale production environments are still being evaluated. Caution is advised until further testing is completed.

What are the main limitations compared to cloud or Kubernetes-based solutions?

It currently supports a single Docker host without native Kubernetes integration, which may limit scalability or advanced orchestration features available in larger clusters.

Source: Hacker News

You May Also Like

Silk: Open-source cooperative fiber scheduler

Silk is a new open-source fiber scheduler for Linux featuring per-CPU threads, io_uring integration, and topology-aware work-stealing, enhancing concurrency and performance.

Outsourcing plus local AI will soon become more economical vs. frontier labs

Emerging trends indicate outsourcing combined with local AI deployment will soon be more economical than frontier labs, impacting AI development strategies.

SpaceX Starship V3’s first test flight was largely successful

SpaceX’s Starship V3 completed its first test flight, despite engine issues, marking a significant step toward future lunar and Mars missions.

Project Glasswing: An Initial Update

Initial findings from Project Glasswing reveal AI models discovering thousands of vulnerabilities in critical software, accelerating cybersecurity efforts.