Isolated sandboxes,
on your own servers.
Run isolated ephemeral sandboxes on any server you already manage with Teploy. Powered by teploy-sandbox v0.1.0 (FSL-1.1-MIT) — one daemon bound to loopback, reached over SSH from the CLI or driven directly over HTTP.
$ teploy sandbox host prod
Installed the sandbox engine (teploy-sandbox v0.1.0) on prod and started it at 127.0.0.1:7439
$ teploy sandbox new --host prod --image alpine:3.20
Created 01JCV5ZK3Q7X9B2D4E6F8A0B1C on prod (alpine:3.20, expires 2026-11-27T14:30:00Z)
teploy sandbox exec 01JCV5ZK3Q7X9B2D4E6F8A0B1C --host prod -- <command>
$ teploy sandbox exec 01JCV5ZK3Q7X9B2D4E6F8A0B1C --host prod -- echo hello
hello
$ teploy sandbox stop 01JCV5ZK3Q7X9B2D4E6F8A0B1C --host prod
Stopped 01JCV5ZK3Q7X9B2D4E6F8A0B1C on prod (kept until 2026-12-11T14:00:00Z)
$ teploy sandbox resume 01JCV5ZK3Q7X9B2D4E6F8A0B1C --host prod --ttl 2h
Resumed 01JCV5ZK3Q7X9B2D4E6F8A0B1C on prod (running until 2026-11-27T16:00:00Z)
Ephemeral execution does not require handing your code to a hosted sandbox vendor. One daemon on your own box, listening only on loopback and reached over SSH — the same engine and HTTP contract that Ship uses for coding agents.
Self-hosted only.
Install on any Linux server with Docker and systemd. Hosted sandboxes on Teploy Cloud are not part of this.No public port.
The engine binds 127.0.0.1:7439 only. The CLI forwards over SSH so the bearer token never leaves your SSH session.Source-available (FSL-1.1-MIT).
Source-available under FSL-1.1-MIT (becomes MIT after two years). Static Linux amd64 and arm64 binaries with SHA-256 verification.Isolated containers with a persistent lifecycle
Start from any Docker image, run commands, copy files in and out of /work, pause to disk, resume under the same ID, or fork a copy.
01
Any Docker image
Each sandbox starts a container with its own filesystem and network namespace. Commands run via sh -c in /work as the image's ship user when present, or root.
02
Default-deny egress
Network is none by default (loopback only). Opt into allowlist (HTTP proxy with built-in package registries and per-run egressAllow) or open.
03
Stop, resume, fork
stop commits the filesystem, frees the container, and retains the run for 14 days costing only disk. resume restores the same ULID; fork branches from running or stopped state.
04
Bounded by default
1 CPU, 1024 MiB RAM, 256 pids, and a 30-minute TTL (24 hours max) unless overridden. Pass --on-expire stop to preserve the filesystem instead of destroying at expiry.
05
CLI and HTTP API
Drive sandboxes over SSH with teploy sandbox (including --json output), or call the bearer-authenticated /v1 HTTP API directly for SSE execs, leases, snapshots, and warm repo caches.
06
Experimental VM driver
Cloud Hypervisor on KVM with ZFS volumes and teploy-guestd over vsock. Experimental and not installed by teploy sandbox host; memory snapshots are off by default.
Use the CLI, or speak HTTP directly
teploy sandbox handles installation, SSH tunneling, token lookup, and --json scripting. If you are building an agent runner or control plane, call the /v1 wire contract directly.
What is ready, and what is experimental
The Docker driver and CLI workflow are ready to test on your own servers. The KVM VM driver, memory snapshots, off-host S3 storage, and access listener are experimental and off by default.
Run it on a server you own
Install teploy-sandbox v0.1.0 with one command, or inspect the engine source and wire contract on GitHub.