gVisor implements a Linux-like kernel in Go that runs in userspace between container workloads and the host. The runsc OCI runtime plugs into Docker and Kubernetes to run sandboxed containers.
Overview
gVisor adds a boundary between containerized applications and the host operating system. It exposes familiar Linux syscalls through an application kernel written in a memory-safe language, while keeping host kernel exposure smaller than typical container sharing.
The runsc runtime follows the Open Container Initiative spec and works with Docker, containerd, and Kubernetes RuntimeClass so teams can swap the runtime without changing ordinary container workflows. It is neither a seccomp filter nor a full hardware virtual machine; the project positions it between VMs and standard containers on isolation and footprint.
Core components emulate process management, memory layout, networking, and filesystem behavior in user space, with optional userspace networking via Netstack for Go consumers. Documentation covers installation, architecture, checkpoint and restore, GPU and TPU pass-through, and integration with monitoring tools.
Builds target x86_64 and ARM64 Linux hosts. Release artifacts bundle runsc, a containerd shim, and helper binaries expected alongside the runtime in a gvisor-bin directory.
Key features
- Userspace Linux syscall emulation
- OCI runsc container runtime
- Docker and Kubernetes integration
- Go memory-safe kernel implementation
- Container checkpoint and restore
- GPU and TPU accelerator support
- Defense-in-depth host isolation
- Netstack userspace networking
Use cases
- Sandboxing untrusted container workloads
- Hardening multi-tenant Kubernetes clusters
- Running AI agent code in isolation
- Reducing container escape blast radius