Self-hosted dev sandboxes with preview URLs (Docker, Go, no K8s)

TL;DR

A new open-source platform allows teams to deploy self-hosted development sandboxes with automatic preview URLs, using Docker and Go, without requiring Kubernetes. It supports multi-tenant environments, is easy to install, and offers cost-effective scaling.

An open-source platform enabling self-hosted development sandboxes with live preview URLs has been released, designed for teams and multi-tenant environments. Built using Docker and Go, it requires no Kubernetes, making deployment straightforward and cost-effective.

The platform, called ‘sandboxed,’ creates isolated Linux containers on demand, providing each user or project with a dedicated sandbox environment accessible via a unique URL. It uses Docker for container management, Traefik for routing, and SQLite for persistence, all orchestrated through a single Go program. The system supports automatic sleep and wake cycles for idle sandboxes, optimizing resource usage and costs. Installation involves a simple script, and the platform exposes an HTTP API for managing sandboxes, including creation, execution, and destruction. It is designed for use cases such as AI app-builders, coding playgrounds, and per-user preview environments, especially where many sandboxes are needed simultaneously.

Why It Matters

This development matters because it addresses the infrastructure challenges faced by teams building AI-powered app builders, coding platforms, or multi-tenant preview environments. By enabling self-hosted, cost-effective, and scalable sandbox management, it reduces reliance on cloud services and vendor lock-in, offering greater control over data and infrastructure. Its simplicity and focus on multi-tenancy make it a practical solution for organizations needing many isolated development environments without the overhead of Kubernetes or complex orchestration tools.

Podman in Action: Secure, rootless containers for Kubernetes, microservices, and more

Podman in Action: Secure, rootless containers for Kubernetes, microservices, and more

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

Traditional development environments often rely on manual Docker setups or cloud-based solutions, which can be costly and complex to scale for multi-user platforms. Existing tools like Replit or cloud IDEs provide similar functionality but often depend on managed services or Kubernetes clusters. The ‘sandboxed’ project aims to simplify deployment by using Docker and a minimal control plane, making it accessible for teams that want to self-host. Its design reflects a trend toward lightweight, resource-efficient development environments that can be easily maintained and scaled on standard hardware.

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

— Project creator

“The ability to spin up isolated environments with live URLs on our own servers is a game-changer for our AI app-building platform.”

— Early user

Production-Grade Reverse Proxies in Practice : Build Secure, High-Availability Traffic Front Doors with NGINX, HAProxy, Caddy, Traefik, TLS, Docker, and Observability

Production-Grade Reverse Proxies in Practice : Build Secure, High-Availability Traffic Front Doors with NGINX, HAProxy, Caddy, Traefik, TLS, Docker, and Observability

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 high load or in large-scale deployments. Long-term stability, security, and support for complex use cases remain to be tested as adoption grows.

SQLite for Beginners: Build Lightweight Databases for Python, Mobile, and Desktop Projects

SQLite for Beginners: Build Lightweight Databases for Python, Mobile, and Desktop Projects

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

Developers plan to gather user feedback, improve scalability, and add features such as multi-host support and enhanced security. Further testing will determine its suitability for enterprise environments, and integration with existing CI/CD pipelines is expected to follow.

YOLENY Sandbox with Lid,Kids Sandbox with Cover Outdoor,Wooden Sand Box with 2 Foldable Bench Seats for Ages 2-8, Adjustable UV-Resistant Roof & Bottom Liner for Backyard,Beach

YOLENY Sandbox with Lid,Kids Sandbox with Cover Outdoor,Wooden Sand Box with 2 Foldable Bench Seats for Ages 2-8, Adjustable UV-Resistant Roof & Bottom Liner for Backyard,Beach

  • Premium Spruce Wood Construction: Durable and smooth for long-lasting play
  • Adjustable UV-Resistant Canopy: Rotates 180° with height adjusters for sun protection
  • Removable Canopy for Versatility: Easily remove to save space when not in use

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

Can I use this platform for production workloads?

While designed for development and testing, the platform’s simplicity means it may require additional security and robustness measures for production use. Its suitability depends on your specific requirements.

What are the system requirements to run sandboxed?

It requires Docker Engine with Compose plugin on Linux. No Kubernetes or additional database servers are needed.

Is this platform suitable for single developers or only teams?

It is optimized for teams or environments where many sandboxes are needed simultaneously. For individual use, simpler solutions like direct Docker commands may suffice.

How does it handle resource management and cost control?

Idle sandboxes automatically stop to conserve resources and restart on demand, minimizing costs and resource usage.

Source: Hacker News

You May Also Like

The Eye Over The City: How Wide-Area Motion Imagery Works — And Where It Goes Blind

An in-depth look at WAMI technology, its capabilities, limitations, and future prospects in urban surveillance and defense.

The Simple Way to Secure Your Accounts Without Memorizing Anything

Secure your accounts effortlessly with a password manager and multi-factor authentication—discover how to protect your digital life today.

Liquid vs Air Cooling for 24/7 Inference Rigs

Comparing liquid and air cooling for continuous AI inference setups, focusing on reliability, cost, noise, and long-term performance.

Jarred tried rewriting Bun in Rust and it passes 99.8% of the existing test suite we’re not being ambitious enough

Jarred’s effort to rewrite Bun in Rust successfully passes 99.8% of its test suite, signaling significant progress in alternative implementation.