Why every workload on Neatploy runs inside gVisor
How runsc, per-environment nftables, and nvproxy let Neatploy isolate untrusted builds, web apps, databases, and AI agent sandboxes on shared nodes.
Standard Linux containers share the host kernel. On single-tenant infrastructure, namespaces and cgroups are usually enough. On a multi-tenant platform—especially one that runs user-supplied Docker images, AI coding agents, and ephemeral sandboxes—sharing a raw Linux kernel syscall surface between tenants is a risk we decided not to accept.
Every user workload on Neatploy executes under gVisor (runsc).
Intercepting syscalls in user space
Instead of passing application syscalls directly to the host Linux kernel, runsc acts as a user-space kernel written in Go. An application inside a Neatploy container or sandbox interacts with gVisor’s Sentry process rather than the host kernel’s syscall table directly.
This gives us strong kernel-boundary isolation without needing full hardware virtual machines for every 256 MB Redis instance or 15-minute developer sandbox.
Isolating networks per environment
Container isolation is only half the story; lateral network movement matters just as much. Because Docker’s embedded DNS does not behave the same way under runsc, neatploy-agent manages per-environment bridge networks, nftables isolation, and a dedicated per-environment DNS resolver.
Services in production resolve postgres.internal inside production, while services in staging cannot reach production databases over the private network. At the egress layer, the agent enforces outbound filtering that blocks port 25 and known cryptocurrency mining pools.
Clear boundaries and GPU passthrough
Running under gVisor also introduces explicit constraints that we surface across our docs and UI:
- No Docker inside sandboxes: Nested container daemons (
DinD) are not supported under v1 sandboxes. - Whole GPUs via
nvproxy: GPU workloads attach 1, 2, 4, or 8 whole devices using gVisor’snvproxy, paired with explicit node trust tiers (owned,datacenter,marketplace) so sensitive data never lands on untrusted marketplace hosts.
Read more in our security architecture overview or sandboxes documentation.