mrkeyoor.comAsk

google/gvisortested 28 Aug 2026commit 4a7fcd5

gvisor review

Evaluate gVisor for untrusted containers if you can validate the exact images and required Linux features under runsc.

  • Build 19 s
  • Tests failed
43 sto install
  • 396 packages
Self-Hostedevaluationupdated 31 Oct 2026
+40stars / 7d

Consider gVisor for untrusted containers when your team can validate each workload under its runtime; our run does not establish deployment readiness. gVisor is a userspace application kernel with an OCI runtime called runsc that integrates with Docker and Kubernetes. Our run on August 28, 2026, at commit 4a7fcd5 recorded a successful install step, a zero-exit build step with a vet error in its log, and a failed test command. We did not test a running sandboxed application, workload compatibility, runtime performance, or isolation effectiveness.

Verdict

Evaluate gVisor for untrusted containers if you can validate the exact images and required Linux features under runsc. Our run on August 28, 2026, at commit 4a7fcd5 recorded a 43-second install step, a 19-second zero-exit build step whose log contains a vet error, and a 4-second failed test command. It provides no deployment or runtime-performance result. Complete the documented installation and workload checks before choosing it.

We ran it

Lab card: what happened when we ran gvisor
Lab card from our sandbox run
Screenshot of gvisor (gvisor.dev)
gvisor.dev
Install✓ · 43s396 packages
Build✓ · 19s
Tests✗ · 4s0 passed · 0 failed of 0 (go test)
Repo4197 files~874,491 lines of source · 66.6 MB · 9 CI workflows · tests dir

Answers from our run

Does gvisor build from source?

Dependencies installed in 43 seconds (396 packages), and the build succeeded in 19 seconds. We cloned commit 4a7fcd5 into a clean Debian container with 3 CPUs and no project-specific setup.

Do gvisor's tests pass?

No. The project's own test command finished in 4 seconds and reported 0 passed, 0 failed (go test).

Who should not use gvisor?

Workloads that require unsupported Linux features, including KVM inside the sandbox or mounting block devices from within it.

What are the alternatives to gvisor?

Kata Containers, Firecracker. Evaluate gVisor for untrusted containers if you can validate the exact images and required Linux features under runsc.

Setup3/5Documented installation requires host integration that our run did not exercise; the zero-exit build step also retains a vet error. The visible rubric assigns 3 to a documented route with unresolved verification.
Docs5/5The supplied primary extracts cover architecture, installation, source development, and explicit compatibility gaps. Under the visible documentation rubric, this breadth earns 5 without implying flawless documentation.
Community5/5Retained rating uses the visible criterion of documented governance, contribution routes, and public support channels in the README. Response times, participation, and adoption were not measured.
Maturity5/5Retained rating reflects the project's documented production use in its compatibility guide and explicit operational limitations. This is vendor-reported deployment evidence, not our production validation.

Discussed on

  1. hnGo CheckLocks Analyzer94 points
  2. hnGvisor: Application Kernel for Containers26 points
  3. hngVisor: Container Runtime Sandbox, a user-space kernel for containers9 points
  4. hnGoogle open sources gVisor, a sandboxed container runtime9 points
  5. hnGVisor: Google Sandboxed Container Runtime6 points

Who it’s for

Platform teams evaluating an additional isolation boundary for customer-supplied containers.
Docker and Kubernetes operators who can test their actual images under runsc before rollout.
Infrastructure developers prepared to use the project's Bazel-based development and test workflow.

Who it’s NOT for

Workloads that require unsupported Linux features, including KVM inside the sandbox or mounting block devices from within it.
Teams treating a successful harness build step as proof that runsc was built, installed, and exercised.
Operators expecting sandboxing to repair application vulnerabilities or make sensitive data safe to expose to a container.

Setup reality

Our sandbox's install step took 43 seconds and recorded 396 dependencies. The build step took 19 seconds and returned exit code 0, but its raw tail also contains a go.mod update request and vet-exit:1. The test step took 4 seconds and returned exit code 1 with the same module-update request. These are separate command outcomes; the build status does not establish a clean compilation-and-vetting result.

The README at the recorded commit says the project uses Bazel to build and manage dependencies. Its synthetic go branch supports importing subpackages, and runsc builds from that branch are unsupported. Follow the project's documented build and test workflow when evaluating source development.

The supplied installation guide requires Linux 5.6 or newer on x86_64 or ARM64. It prefers the Debian package where available. Manual installations must keep runsc and its gvisor-bin directory together because the runtime executes sidecar binaries from that directory. We did not perform this host-runtime installation in our recorded run.

What our run establishes

Our run on August 28, 2026, used commit 4a7fcd5fc0489e76ee736b16c956c97ba641fe6b in our sandbox, configured with 3 CPUs, 8 GB of memory, and the golang:1.24-bookworm image. The install step succeeded in 43 seconds. The stored dependency count is 396; it is not an application compatibility result.

The harness records step status, exit code, elapsed time, and parsed test counts separately. Its build step returned zero after 19 seconds, while the retained output includes a request to update go.mod and vet-exit:1. That discrepancy belongs in the interpretation: the wrapper reported success, but the log does not support calling the entire build-and-vet path clean.

The test command returned exit code 1 after 4 seconds. Its retained output says:

go: updates to go.mod needed; to update it:

go mod tidy

The attached stored parser summaries report 0 passed, 0 failed, and 0 total. Those summaries do not establish exhaustive unique test coverage. The retained tail shows a module check stopping the command; it does not show a failed test assertion. We have not reconciled complete logs or performed a new execution.

The MrKeyoor testing-methodology page explains how command outcomes and parser summaries reach our reviews. That page describes the publisher's methodology; it does not establish which current procedures were used for this older run.

Why the Go command result needs context

The README at the tested commit identifies Bazel as the build and dependency-management system. It documents standard test targets and a build container around the development dependencies. It also distinguishes source development from the synthetic go branch used by projects importing gVisor subpackages.

Our generic Go-oriented command results therefore answer a narrower question than whether gVisor's documented development workflow succeeds. They also do not show that a complete runsc installation launched a container. For a source evaluation, use the documented workflow at the revision you select and retain its command output.

Check the features your container actually uses

The compatibility guide says that trying the container is the only reliable way to establish whether it works. Its documented gaps give you specific staging checks: in-sandbox cgroups can account for resources but cannot enforce limits between competing processes within one sandbox; block devices cannot be mounted from inside it; iptables support is partial; and io_uring is disabled by default, with limited support when enabled.

KVM cannot run inside a gVisor sandbox. The guide distinguishes this limitation from gVisor itself using its KVM platform or running inside a KVM-based virtual machine. A workload that depends on nested virtualization needs this distinction before a trial begins.

Start with an actual application image. Exercise its startup, storage access, network behavior, resource controls, and shutdown under runsc. These are proposed evaluation steps, not workloads we completed. Our run measured neither throughput nor latency, memory consumption, filesystem performance, or networking performance. No audit result was recorded, and dependency scan coverage is unknown.

Installation is a separate operational task

The installation guide requires Linux 5.6 or newer and supports x86_64 and ARM64. It recommends the Debian package when available and says that an existing Docker installation is configured automatically by that package. Manual installation includes the containerd shim and sidecar binaries as well as runsc.

Keep the gvisor-bin directory beside runsc when moving the installation. Our successful dependency-install step did not verify these files, Docker configuration, Kubernetes integration, or a running container. Establish those separately before accepting a workload trial.

Alternatives answer different infrastructure questions

Kata Containers uses lightweight virtual machines to provide workload isolation. Its README describes runtime, agent, and hypervisor configuration, and provides a host-capability check. Evaluate it as a container-runtime alternative when you want a VM boundary and can support that configuration. We did not compare its compatibility or performance with gVisor.

Firecracker is a virtual machine monitor that uses KVM to create and run microVMs. Its README describes an API for configuring and starting those machines, and notes integrations with container runtimes including Kata Containers. Evaluate it when your project needs to manage microVMs. It can also be a component beneath a container runtime, so it is not an interchangeable replacement at every layer.

How to read the retained ratings

These editorial ratings describe documented evaluation support, not measured security, popularity, or application performance. The visible rubric is: 1 means substantial barriers with little supporting guidance; 2 means partial guidance with major unresolved setup questions; 3 means a documented route with integration work and unresolved verification; 4 means broad documentation with a material evidence gap; 5 means the dimension has the specific supporting documentation described below. Scores are not comparable benchmarks between projects.

Setup ease remains 3/5 because installation is documented, but host integration was not tested and our command output has unresolved build-and-vet ambiguity. Documentation remains 5/5 for the supplied coverage of architecture, installation, source development, and compatibility limits. Community remains 5/5 under the narrow criterion of documented governance, contribution routes, and public support channels; we did not measure response times or participation. Maturity remains 5/5 for documented production use and explicit operational limitations, based on the project's own compatibility guide rather than our production validation. These ratings do not establish that your workload is ready to deploy.

Alternatives

ProjectWhat it isPick it when
Kata ContainersA container-runtime project built around lightweight virtual machines.Evaluate it when you want VM-based workload isolation and can manage its runtime, agent, and hypervisor configuration.
Firecracker gh↗A KVM-based virtual machine monitor for creating and running microVMs.Evaluate it when you need to configure and manage microVMs, or as a component of a container-runtime design rather than an interchangeable runtime replacement.

What people are saying

  1. [github-trending] google/gvisor

Sources

  1. gVisor README
  2. gVisor installation guide
  3. gVisor application compatibility
  4. gVisor production guide
  5. gVisor security model
  6. gVisor 20260817.0 release
  7. gVisor issue 14470

More self-hosted reviews