# gvisor

> Application Kernel for Containers

- Type: agent or tool
- Field: Security
- Repository: https://github.com/gvisor/gvisor
- GitHub stars: 20105
- Licence: Apache-2.0
- Language: Go
- Last push: 2026-11-24
- Page: https://imutechz.in/agents/gvisor

## What it is
gVisor is an application kernel that implements a Linux-like interface, written in Go and running in userspace to provide a strong isolation layer between applications and the host operating system. It includes an OCI runtime called runsc that integrates with Docker and Kubernetes for running sandboxed containers. It is aimed at teams running untrusted or potentially malicious code in containers who want more isolation than a shared kernel provides.

## Features
- Application kernel implementing a Linux-like interface in userspace
- Written in Go, a memory-safe language
- Includes the runsc OCI runtime
- Integrates with Docker and Kubernetes
- Limits the host kernel surface accessible to applications
- Builds on x86 64 and ARM64

## Best for
- Running untrusted container workloads
- Sandboxing containers beyond standard isolation
- Using existing Docker and Kubernetes tooling with sandboxed containers

## Pros
- Provides a strong layer of isolation between applications and the host OS
- Maintains a lower resource footprint and fast startup compared with VMs
- Works with existing container tooling via the runsc runtime

## Cons
- Requires Linux 5.6+
- Requires Docker version 17.09.0 or greater
- Builds only on x86 64 and ARM64

## Install
```
make release-tarball DESTINATION=bin/
sudo tar -C /usr/local/bin -xf bin/gvisor.tar.bz2
```

## Usage
```
make build TARGETS="//pkg/tcpip:tcpip"
```

Tags: gvisor, container-isolation, sandbox, runsc, oci-runtime, kubernetes, docker, security
