aicoolies logo
gVisor logo
gVisor logo

gVisor

Google's application kernel for container sandboxing and security

open sourceupdated Apr 21, 2026

gVisor is Google's open-source container runtime sandbox that provides an additional layer of isolation between containerized applications and the host kernel. It implements a user-space application kernel that intercepts system calls, preventing container escapes and limiting the attack surface. Used in Google Cloud Run, GKE Sandbox, and other Google Cloud services. Over 18,000 GitHub stars.

gVisor is a user-space kernel written in Go that sandboxes Linux containers by intercepting system calls without requiring virtualization or hardware extensions. Unlike traditional container runtimes, gVisor runs as an unprivileged process and mediates all guest kernel interactions, providing strong isolation boundaries at the cost of increased overhead. It integrates seamlessly with Docker and Kubernetes through the runsc runtime (OCI-compatible), making it a drop-in replacement for runc that strengthens security posture for untrusted or multi-tenant workloads.

The core innovation lies in gVisor's architecture: rather than trusting the host kernel to protect against container breakouts, gVisor acts as an intermediate kernel layer, translating container syscalls into safer host operations. This design eliminates entire classes of kernel vulnerabilities—if a container exploits a Linux kernel bug, the gVisor kernel can detect and block it. Performance trade-offs exist (1.5-2x overhead typical), but for security-critical applications, the isolation guarantees justify the cost. Google Kubernetes Engine (GKE) Sandbox leverages gVisor to run AI agents and untrusted code safely alongside production workloads.

Organizations deploying multi-tenant SaaS platforms, research clusters accepting external code, or cloud providers isolating customer workloads rely on gVisor. It is particularly valuable for serverless platforms like Google Cloud Run where isolation between functions is mandatory. The project remains active and production-ready, with ongoing performance optimizations and support for advanced features like rootfs overlays and variable-length sequence handling.

Pricing

Free and open-source under Apache 2.0

Platforms

Linux, Docker, Kubernetes, OCI runtime

Categories

Tags

Use Cases

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

ToolHive mascot logo

ToolHive

Run and govern MCP servers across desktop, CLI and Kubernetes

Open-source MCP runtime and governance platform that runs servers in isolated containers, curates registries, enforces access policies, and operates gateways across desktop, CLI, and Kubernetes.

Open Source
Anamorpher parent Trail of Bits mark

Anamorpher

Craft image-scaling prompt-injection payloads to red-team multimodal AI systems

Open-source red-team toolkit from Trail of Bits that generates image-scaling attack payloads — images that look benign at full resolution but reveal a hidden prompt injection after a multimodal system downsamples them.

freeOpen Source
cai

CAI (Cybersecurity AI)

AI agent framework for offensive security and penetration testing

Alias Robotics' agent framework for building AI-driven offensive-security workflows — reconnaissance, exploitation, privilege escalation, and lateral movement — with multi-agent handoffs and human-in-the-loop control. Source-available, but the core is licensed for non-commercial research use only.

freemiumTelemetry
MEDUSA logo

MEDUSA

AI-first security scanner for LLM, agent, MCP, and RAG codebases

MEDUSA is an AGPL-3.0 AI-first security scanner from Pantheon Security that checks AI and machine-learning applications, LLM agents, MCP workflows, RAG pipelines, repository-poisoning risks, secrets, and agent-specific compromise patterns.

Open Source
iFixAi logo

iFixAi

Open-source diagnostic for AI operational misalignment

iFixAi is an Apache-2.0 diagnostic tool for scoring AI agents and models against operational-misalignment risks such as hallucination, manipulation, sabotage, sandbagging, and oversight evasion.

Open Source
Inspect AI parent UK AISI mark

Inspect AI

UK AI Security Institute framework for LLM safety evaluations

Inspect AI is an MIT-licensed framework from the UK AI Security Institute for running large language model evaluations, including tool use, multi-turn dialogue, model-graded scoring, and reusable evaluation tasks.

Open Source

FAQ

What is gVisor?

gVisor is Google's open-source container runtime sandbox that provides an additional layer of isolation between containerized applications and the host kernel. It implements a user-space application kernel that intercepts system calls, preventing container escapes and limiting the attack surface. Used in Google Cloud Run, GKE Sandbox, and other Google Cloud services. Over 18,000 GitHub stars.

Is gVisor free?

Yes — gVisor is open source and free to use. Free and open-source under Apache 2.0

Is gVisor open source?

Yes — gVisor is open source.

What are the best gVisor alternatives?

The top editor-verified gVisor alternatives are OpenBao, Vercel Sandbox.