gVisor vs Kata Containers

gVisor is an application kernel from Google. Kata Containers is a container runtime that uses lightweight VMs. gVisor runs without a hypervisor, and Kata Containers starts one.

Updated

gVisor

An application kernel from Google.

Type
User-space kernel
Own kernel
In user space
Used by
Agent37 Cloud, StateSet Sandbox, Bunny Sandbox, Modal, Brimble Sandboxes, Sandbox0, xShellz Agent Shell

Kata Containers

Runs containers inside lightweight virtual machines.

Type
MicroVM
Own kernel
Used by
Not listed

How they differ

6 fields, side by side

gVisor
Kata Containers
Kind
gVisor: Application kernel in user space
Kata Containers: Container runtime that uses lightweight VMs
Kernel
gVisor: Kernel in user space, written in Go
Kata Containers: Guest kernel inside the VM
Hypervisor
gVisor: No
Kata Containers: Yes, for example QEMU or Cloud Hypervisor
Hardware virtualization
gVisor: Optional, used only by the KVM platform
Kata Containers: Used for stronger isolation
Governance
gVisor: Google
Kata Containers: OpenInfra Foundation project
License
gVisor: Apache-2.0
Kata Containers: Apache-2.0

When the difference matters

gVisor handles system calls in its own code, and it passes none through to the host kernel. Kata Containers boots a guest kernel inside a VM, so the code runs on a separate kernel. gVisor can run on a machine without hardware virtualization.

Which one to look for

Check whether the provider names gVisor or Kata Containers. For Kata Containers, check the hypervisor. The Kata hypervisor table marks GPU support only for QEMU.

Providers using each

List price per vCPU-hour

Related terms

All glossary terms

Related